You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nano does not have any functionality to add permissions (users/roles) to a database. Always needed after DB creation.
expected - an API like:
nano.db.security([callback]) -- getting the security info
nano.db.secure(permObj, [callback]) -- setting security object
reason:
Creating a user and manually its database (to know when it is ready to create multiple documents inside), there is no owning user set. db.create(name, callback) has no option to set user security.
Other basic functions also have a wrapper (like .get()).
Would help with making it easy to use couchDB without having to read and abstract the couchdb-docu-curl calls to a nano.request.
Nano does not have any functionality to add permissions (users/roles) to a database. Always needed after DB creation.
expected - an API like:
reason:
Creating a user and manually its database (to know when it is ready to create multiple documents inside), there is no owning user set.
db.create(name, callback)
has no option to set user security.Other basic functions also have a wrapper (like
.get()
).Would help with making it easy to use couchDB without having to read and abstract the couchdb-docu-curl calls to a
nano.request
.workaround - call manually:
The text was updated successfully, but these errors were encountered: