couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Davies (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-512) Per-DB Authorization and ACL
Date Wed, 23 Sep 2009 22:26:16 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Davies updated COUCHDB-512:
---------------------------------

    Attachment: per_db_auth.patch

Initial patch adding per-db auth using an ACL rule list defined in the "_local/_acl" in the
users db ("users" by default).  We can look at extending this and allow a similar document
to exist per database too in the future.  The ACL document looks like:

{
  "_id": "_local/_acl",
  "rules": [
    {"db": "*", "role": "*", "deny": "*"},
    {"db": "*", "role": "test", "allow": "read"},
  ]
}

The last matching rule wins.

> Per-DB Authorization and ACL
> ----------------------------
>
>                 Key: COUCHDB-512
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-512
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>            Reporter: Jason Davies
>             Fix For: 0.10
>
>         Attachments: per_db_auth.patch
>
>
> Following discussions on the mailing list, this is for tracking work and comments surrounding
an implementation of per-db authorization and ACL.

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


Mime
View raw message