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

_all_dbs should list only the DBs accessible to the user

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.11
    • Fix Version/s: None
    • Component/s: HTTP Interface
    • Labels:
      None
    • Environment:

      trunk / 0.11

    • Skill Level:
      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-2.patch
          6 kB
          Filipe Manana
        2. couchdb-_all_dbs-auth.patch
          4 kB
          Filipe Manana

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fdmanana Filipe Manana
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: