CouchDB
  1. CouchDB
  2. COUCHDB-661

_all_dbs should list only the DBs accessible to the user

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major 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.

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

        Activity

        Jan Lehnardt made changes -
        Fix Version/s 1.3 [ 12318350 ]
        Jan Lehnardt made changes -
        Fix Version/s 1.3 [ 12318350 ]
        Fix Version/s 1.2 [ 12315198 ]
        Jan Lehnardt made changes -
        Fix Version/s 1.2 [ 12315198 ]
        Fix Version/s 0.12 [ 12314314 ]
        Paul Joseph Davis made changes -
        Skill Level Regular Contributors Level (Easy to Medium)
        Noah Slater made changes -
        Fix Version/s 0.12 [ 12314314 ]
        Fix Version/s 0.11 [ 12313841 ]
        Filipe Manana made changes -
        Attachment couchdb-_all_dbs-auth-2.patch [ 12436353 ]
        Filipe Manana made changes -
        Field Original Value New Value
        Attachment couchdb-_all_dbs-auth.patch [ 12436351 ]
        Filipe Manana created issue -

          People

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

            Dates

            • Created:
              Updated:

              Development