couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-912) Anonymous Access to Design Docs on private DB's
Date Fri, 05 Nov 2010 21:36:44 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928833#action_12928833
] 

Chris Anderson commented on COUCHDB-912:
----------------------------------------

reviewing the patch. looks good except that config should not be read in an http responder.
instead it should be read in the gen-server init and added to the httpd record or something
so it's available in the responder.

This is a little bit more performant, here's an example of where config is loaded.

https://github.com/apache/couchdb/blob/trunk/src/couchdb/couch_httpd.erl#L76

> Anonymous Access to Design Docs on private DB's
> -----------------------------------------------
>
>                 Key: COUCHDB-912
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-912
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: HTTP Interface
>            Reporter: Dale Harvey
>         Attachments: anon.patch
>
>
> 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.


Mime
View raw message