-
Notifications
You must be signed in to change notification settings - Fork 55
Cannot update _security document using Cloudant python #52
Comments
@mikerhodes we are not wrapping |
@mikerhodes - I spoke to @evansde77 about setting permissions and the sharing databases. I've summarized the major points of our conversation below:
|
@alfinkel Seems clearer. For me, the naming of share/unshare is very use-case specific (to sharing databases) -- therefore editing the _security doc to add permissions is a separate thing. |
I've opened #98 to split out the work involving the share_database missing roles. So this Issue is just for the direct management of the security document. |
You cannot update a _security document using python-cloudant. If you run the following script:
You get a problem because
_security
documents do not have_rev
fields (they are not versioned in the same way):I should've spotted this issue; it's probably an issue elsewhere too.
The text was updated successfully, but these errors were encountered: