couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <>
Subject [jira] Commented: (COUCHDB-661) _all_dbs should list only the DBs accessible to the user
Date Sun, 21 Feb 2010 22:21:27 GMT


Filipe Manana commented on COUCHDB-661:

Yes Brian, I do share the same vision.

The idea, which I pretend to discuss soon in the @dev mailing list, is to use a view which
will map user names and roles to lists of dbs. This view would exist in the design doc of
a special db named "_dbs" (or whatever).

I will send a mail asap to the dev mailing list presenting a partial solution and pointing
out some technical issues, as well as to collect some feeback about them.


> _all_dbs should list only the DBs accessible to the user
> --------------------------------------------------------
>                 Key: COUCHDB-661
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 0.11
>         Environment: trunk / 0.11
>            Reporter: Filipe Manana
>             Fix For: 0.11
>         Attachments: couchdb-_all_dbs-auth-2.patch, couchdb-_all_dbs-auth.patch
> As discussed in the auth roadmap mail, sent by Chris to @dev, the _all_dbs URI should
only list the DBs that are accessible to the user.
> The following patch is a naive solution. It doesn't scale for CouchDB servers with millions
of DBs. Regarding this scaling detail, I'll discuss soon in the @dev mailing list some ideas.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message