You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2014/09/04 00:45:52 UTC

[jira] [Resolved] (COUCHDB-2309) Only admins can browse _all_dbs

     [ https://issues.apache.org/jira/browse/COUCHDB-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Shorin resolved COUCHDB-2309.
---------------------------------------
    Resolution: Fixed
      Assignee: Robert Newson

Fixed in [549ebb4|https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=549ebb4].


> Only admins can browse _all_dbs
> -------------------------------
>
>                 Key: COUCHDB-2309
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2309
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: BigCouch
>            Reporter: Alexander Shorin
>            Assignee: Robert Newson
>
> 1. Run CouchDB 2.0 @ dd10292
> 2. Fix Admin Party
> 3. Logout
> 4. GET http://localhost:15984/_all_dbs
> {code}
> * Hostname was NOT found in DNS cache
> *   Trying 127.0.0.1...
> * Connected to localhost (127.0.0.1) port 15984 (#0)
> > GET /_all_dbs HTTP/1.1
> > User-Agent: curl/7.36.0
> > Host: localhost:15984
> > Accept: */*
> > 
> < HTTP/1.1 401 Unauthorized
> < X-CouchDB-Body-Time: 0
> < X-Couch-Request-ID: d86ea480
> * Server CouchDB/e696e43 (Erlang OTP/17) is not blacklisted
> < Server: CouchDB/e696e43 (Erlang OTP/17)
> < Date: Wed, 27 Aug 2014 12:31:22 GMT
> < Content-Type: text/plain; charset=utf-8
> < Content-Length: 64
> < Cache-Control: must-revalidate
> < 
> {"error":"unauthorized","reason":"You are not a server admin."}
> * Connection #0 to host localhost left intact
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)