[jira] Updated: (COUCHDB-512) Per-DB Authorization and ACL

2009-09-24 Thread Jason Davies (JIRA)

 [ 
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.1.patch

Fix for error when ACL doc is missing.

> 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.1.patch, 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.



[jira] Updated: (COUCHDB-512) Per-DB Authorization and ACL

2009-09-23 Thread Jason Davies (JIRA)

 [ 
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.



[jira] Updated: (COUCHDB-512) Per-DB Authorization and ACL

2009-09-23 Thread Jason Davies (JIRA)

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

Jason Davies updated COUCHDB-512:
-

Component/s: Database Core

> 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
>
>
> 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.