Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 13288 invoked from network); 7 Mar 2010 05:52:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Mar 2010 05:52:09 -0000 Received: (qmail 71820 invoked by uid 500); 7 Mar 2010 05:51:49 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 71782 invoked by uid 500); 7 Mar 2010 05:51:49 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 71774 invoked by uid 99); 7 Mar 2010 05:51:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Mar 2010 05:51:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Mar 2010 05:51:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 52D0E234C48D for ; Sun, 7 Mar 2010 05:51:27 +0000 (UTC) Message-ID: <2088806993.122431267941087338.JavaMail.jira@brutus.apache.org> Date: Sun, 7 Mar 2010 05:51:27 +0000 (UTC) From: "Chris Anderson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-684) Futon security dialog overwrites other properties of security doc In-Reply-To: <720584547.115831267863807322.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.