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

Robert Newson commented on COUCHDB-1888:
----------------------------------------

This is caused by the new public_fields feature. I had thought that it 
defaulted to showing all properties if not enabled, but that's demonstrably not 
the case. I'm not sure what the best option here is. The oddness of 
public_fields is my fault at the time it was introduced and also mine, again, 
for not fixing things before 1.4.0 was released. Hopefully this isn't affecting 
too many people as the _users db is an internal detail in many cases and, where 
not, folks generally want to expose a subset of fields anyway.

For now, you can do;

curl -XPUT localhost:5984/_config/couch_httpd_auth/public_fields -d 
'"_id,_rev,name,password_sha,password_scheme,iterations,name,roles,derived_key,salt"'
 to expose all standard properties.

                
> /_users/_all_docs?include_docs=true returns empty docs
> ------------------------------------------------------
>
>                 Key: COUCHDB-1888
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1888
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Gregor Martynus
>
> GET http://127.0.0.1:5984/_users/_all_docs?include_docs=true
> {"total_rows":1,"offset":0,"rows":[
> {"id":"_design/_auth","key":"_design/_auth","value":{"rev":"1-619db7ba8551c0de3f3a178775509611"},"doc":{}}
> ]}
> On other databasese, "doc" gets returned properly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to