You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/03/27 14:29:21 UTC

[GitHub] eiri opened a new issue #1244: Investigate if it is feasible to support a creation of a database with security object.

eiri opened a new issue #1244: Investigate if it is feasible to support a creation of a database with security object.
URL: https://github.com/apache/couchdb/issues/1244
 
 
   It would be nice to be able to set security at db creation time, atomically if possible.
   
   ## Expected Behaviour
   I should be able to pass a security object as an option in `fabric:create_db/2` call and expect to get a new database with security set or reject on invalid or outdated security object. 
    
   ## Current Behaviour
   Right now we are either creating databases with an anonymous access or with a default security, based on value of "default_security" configuration.
   
   ## Possible Solution
   It's not that hard to pass security object and use `default_security_object` as a default if it is missing. Most tricky part here are in-betweens, e.g. scenario where a db user in sec object got deleted or out of sync on different nodes so shards will be created on once node and rejected on another. As long as we don't have consistent CP user db (cassim) this is one murky area.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services