couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2309) Only admins can browse _all_dbs
Date Wed, 27 Aug 2014 16:25:59 GMT

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

Alexander Shorin commented on COUCHDB-2309:
-------------------------------------------

Well, then it's bad feature because:
{quote}
you should at least be able see the dbs you have access to when you hit /_all_dbs.
-- Robert Newson
{quote}

> 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
>
> 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.2#6252)

Mime
View raw message