couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1839) Allow changes feed emit changes for user docs with public fields
Date Sat, 22 Jun 2013 10:24:21 GMT

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

Robert Newson commented on COUCHDB-1839:
----------------------------------------

The answer here is the same as the answer for COUCHDB-1838 once we have one. Agree that _changes
should expose or hide the same items that _all_docs does.
                
> Allow changes feed emit changes for user docs with public fields
> ----------------------------------------------------------------
>
>                 Key: COUCHDB-1839
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1839
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Alexander Shorin
>
> When `public_fields` is specified, it's possible to retrieve users docs via `_all_docs`
resource, but it's still not possible to listen their changes:
> {code}
> curl -v http://abc:cba@localhost:5984/_users/_changes
> HTTP/1.1 401 Unauthorized
> Server: CouchDB/1.4.0+build.8d7ab8b (Erlang OTP/R16B)
> Date: Sat, 22 Jun 2013 00:11:11 GMT
> Content-Type: text/plain; charset=utf-8
> Content-Length: 70
> Cache-Control: must-revalidate
> {"error":"unauthorized","reason":"You are not a db or server admin."}
> {code}

--
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

Mime
View raw message