couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale Harvey (JIRA)" <>
Subject [jira] Commented: (COUCHDB-912) Anonymous Access to Design Docs on private DB's
Date Tue, 09 Nov 2010 03:24:09 GMT


Dale Harvey commented on COUCHDB-912:

I have redone the patch thanks to Filipes feedback, its much cleaner now, thanks.

I have is_ddoc_attachment() which reproduces some routing logic that is spread throughout
the entire couch_httpd_db.erl, I would prefer that the logic only done once, and it would
be possible to workaround by reopening the database in various places. However that patch
is far more intrusive.

The right 'fix' is to decouple the routing from the actual logic, and paul mentioned experimenting
with a webmachine / other routing layer so I think its ok to make changes like these and defer
workarounds until a nicer routing layer is in place.

(but if you want the open db patch, then just say)

> Anonymous Access to Design Docs on private DB's
> -----------------------------------------------
>                 Key: COUCHDB-912
>                 URL:
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: HTTP Interface
>            Reporter: Dale Harvey
>         Attachments: anon.patch, attachment_permissions.js
> Right now people need to go through futon in order to login to couchapps running on private
databases, this is a pretty big limitation on the type of couchapps that can be built
> Propose adding the ability for users to flag the design docs as readable for anonymous
users, could be implemented though an attribute on the design doc?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message