Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-661

_all_dbs should list only the DBs accessible to the user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.11
    • None
    • HTTP Interface
    • None
    • trunk / 0.11

    • Regular Contributors Level (Easy to Medium)

    Description

      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.

      Attachments

        1. couchdb-_all_dbs-auth.patch
          4 kB
          Filipe David Borba Manana
        2. couchdb-_all_dbs-auth-2.patch
          6 kB
          Filipe David Borba Manana

        Activity

          People

            Unassigned Unassigned
            fdmanana Filipe David Borba Manana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: