[
https://issues.apache.org/jira/browse/COUCHDB-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842364#action_12842364
]
Chris Anderson commented on COUCHDB-684:
----------------------------------------
On IRC I talked with David about getting Futon to treat the _security object as
if it were a doc with an _id of "_security". This would make it much easier to
edit. It already almost works:
http://localhost:5984/_utils/document.html?mydb/_security
except Futon tries to POST because it doesn't have an ID. So it'd be an easy
fix for Futon (and we can even put doctext on the JSON edit page so we don't
lose the benefit of the dialog box)
another option would be to add an _id field to the actual JSON response.
certainly easier, especially for non-Futon clients, but I'm wary about "faking"
the API so much.
> Futon security dialog overwrites other properties of security doc
> -----------------------------------------------------------------
>
> Key: COUCHDB-684
> URL: https://issues.apache.org/jira/browse/COUCHDB-684
> Project: CouchDB
> Issue Type: Bug
> Components: Futon
> Affects Versions: 0.11
> Environment: OSX 10.6
> Reporter: David Goodlad
> Attachments: futon_security.patch
>
>
> When the _security document has existing properties other than readers and
> admins, Futon's security dialog will overwrite them. If it's agreed this is
> undesirable behaviour, I'll see about putting a patch together.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.