Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 53125 invoked from network); 25 Nov 2010 09:37:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Nov 2010 09:37:21 -0000 Received: (qmail 53201 invoked by uid 500); 25 Nov 2010 09:37:20 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 52930 invoked by uid 500); 25 Nov 2010 09:37:19 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 52913 invoked by uid 99); 25 Nov 2010 09:37:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 09:37:19 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [76.13.13.45] (HELO smtp106.prem.mail.ac4.yahoo.com) (76.13.13.45) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 25 Nov 2010 09:37:14 +0000 Received: (qmail 33462 invoked from network); 25 Nov 2010 09:36:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=aNA7BPMIP4aYuBI4b/j1sEHJYdsQ2GhnOmar4Kpg9jC2cpRmVYDtQ4Ua0ybqQI3n5eXxlybLFvi0rgh4Rjy10VYO1oy8RRpFuRO0iZt828/HJEpB1wdR7BpDbKniXypB17mMNNzl87yqCzUTtE8qVKCAHkIV1Errvs6Tpe7thcM= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1290677812; bh=B6YNA0I7mjtfB3HQGpAgAYh7Q8wgbZRLvZQGVXD4uhg=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=V+l5roxRX1J/5yqvvDNJxFTEH3AT5m/eBE59RigUfe/H2GW92xKsWWpWQC4308VDKkTypoM1vzcYHdq/liyPIFRD6DkhOPyMTm++KqPbP86DtmB4GYsodG33IJKR45npc+oCqIB7J7PjTqq64c7cGQE1IGiQU0o+tPx/olP0AEQ= Received: from ephubudl0146.budapest.epam.com (lalyos@195.56.119.209 with plain) by smtp106.prem.mail.ac4.yahoo.com with SMTP; 25 Nov 2010 01:36:49 -0800 PST X-Yahoo-SMTP: OLGmgKiswBC1rqUooWcvVza99Q-- X-YMail-OSG: rYTEvGwVM1krPzflp6TrY8niDN1vYAhcNVjbZeV7GQxeIW9 DRxjd_zI4egMUNJx5i56RC3Mdjj6ZcOvtCzTBNxcvhPLmdk0iJVIxNg5fbAo Ltu.zg2Ecb2FRSW5p6ozmmePc4TWoj46rNTPDhaGFkddNu_7Ix5oNvDkOPeU b5uk8B0idA.Pu2riJ0AFN_WRXhLARtsWCN9arV3QHL6g07uyoBeiUTCihvSd HZh5qqMliwqWsIviD16ddgjf1Lgx4ruKfefhAKOgLjJwmaM5Bg2OiRZUXMFs Z2rdyE_u0DigSoINE4I4dd2dM8p8KbHLc.1WEo1iyzx8eBE_Rn4DpX_aE0Jd Vp8r31wa0VvRIOs1nHtH5iIsQMdqo X-Yahoo-Newman-Property: ymail-3 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: unable to delete a document as an instance wide admin From: Lajos Papp In-Reply-To: Date: Thu, 25 Nov 2010 10:36:48 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <11AF93B4-7CE7-4E2B-9767-1E9B8EE127D8@yahoo.com> References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1081) thanks a lot Zach! that was it. i was using the "swinger" presentation example couchapp,=20 and it had a bug in the validate_doc_update function, after fixing it i was able to delete. cheers, lalyos > You could be failing a validation. Have you defined any design > documents with a validate_doc_update function for this database? > =96Zach >=20 > On Wed, Nov 24, 2010 at 11:48 AM, Lajos Papp wrote: >> Hi guys, >>=20 >> Im trying to delete a document as the instance wide admin both from = futon and from command line via curl, >> but this is what i get: >>=20 >>> curl -X DELETE = http://lalyos:iwonttellya@lalyos.couchone.com/somedb/someid?rev=3D6-e36e51= 2fa0ffa6e5b069f210d292a9fa >> {"error":"forbidden","reason":"Sorry, you can only delete your own = work."} >>=20 >> as you can see the instance is at couchone.com, so i dont have acces = to local.ini but i can see on futon's 'Configuration' page >> lalyos listed as 'admins >>=20 >> why is the database admin not able to delete a document? >>=20 >> cheers, >> lalyos