thanks a lot Zach! that was it. i was using the "swinger" presentation example couchapp, 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? > –Zach > > On Wed, Nov 24, 2010 at 11:48 AM, Lajos Papp <[email protected]> wrote: >> Hi guys, >> >> 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: >> >>> curl -X DELETE >>> http://lalyos:[email protected]/somedb/someid?rev=6-e36e512fa0ffa6e5b069f210d292a9fa >> {"error":"forbidden","reason":"Sorry, you can only delete your own work."} >> >> 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 >> >> why is the database admin not able to delete a document? >> >> cheers, >> lalyos
