Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E0F17314 for ; Thu, 8 Sep 2011 14:32:22 +0000 (UTC) Received: (qmail 26149 invoked by uid 500); 8 Sep 2011 14:32:20 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26107 invoked by uid 500); 8 Sep 2011 14:32:20 -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 26099 invoked by uid 99); 8 Sep 2011 14:32:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2011 14:32:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alex.barbalex@gmail.com designates 209.85.212.54 as permitted sender) Received: from [209.85.212.54] (HELO mail-vw0-f54.google.com) (209.85.212.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2011 14:32:12 +0000 Received: by vws18 with SMTP id 18so4499vws.27 for ; Thu, 08 Sep 2011 07:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=tFQCsK1K74Q9dmxi1XOxdubtUTFKsKNskojJssghg+k=; b=DVmFsNa8vFQeyn/G85rL2iCpvvjQAvz3OJZAJq1M0Cq71dW4ZOf/5C18bS/w4E86wl EHOFvsO1HjwVcsiGCdC3yNrz1T+wv/WHowGpaRGfOGamghwqa0gISlaZswlbZRj1eVUe Qrv5+DtVXogYiso6DgLFAAueoJz0wfgcQxZvQ= MIME-Version: 1.0 Received: by 10.52.67.108 with SMTP id m12mr724132vdt.121.1315492311250; Thu, 08 Sep 2011 07:31:51 -0700 (PDT) Sender: alex.barbalex@gmail.com Received: by 10.52.113.101 with HTTP; Thu, 8 Sep 2011 07:31:51 -0700 (PDT) Date: Thu, 8 Sep 2011 16:31:51 +0200 X-Google-Sender-Auth: jjAmhHDJZ4NTBjF5jqlP9bfx4FI Message-ID: Subject: "Only admin can delete documents on this database" - but no validation function From: Alexander Gabriel To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf307d0768eab5f904ac6eeb94 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307d0768eab5f904ac6eeb94 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Until very recently I could delete documents from my database using this: http://127.0.0.1:5984/evab-ch_barbalex_evab/39c7a5e62c7207b8d08d69c88c000a6= a?rev=3D1-0395dafa18bdde7afbbee439af1d1f7a produced from this code: function handleDelete(event) { // First open doc based on ID in order to get full document $db.openDoc(docId, { success: function(document) { // Then use the opened doc as reference to remove $db.removeDoc(document, { success: function() { window.open("../../BeobListe.html", target =3D '_self'); }, error: function() { MeldungEinzeilig("Die Beobachtung mit der ID: " + docId + " konnte nicht gel=C3=B6scht werden"); } }); }, error: function() { MeldungEinzeilig("Eine Beobachtung mit der ID: " + docId + " wurde nicht gefunden"); } }); } Today I get this error: {"error":"case_clause","reason":"Only admin can delete documents on this database."} I am a little stumped since I don't (jet) have a validation function in my database. In futon > security there are no admins and users or roles defined. What could be the reason for this error? Thanks for help. Alex --20cf307d0768eab5f904ac6eeb94--