Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 40158 invoked from network); 4 Apr 2005 21:36:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Apr 2005 21:36:18 -0000 Received: (qmail 63515 invoked by uid 500); 4 Apr 2005 21:36:17 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 63500 invoked by uid 99); 4 Apr 2005 21:36:17 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of bcm@osafoundation.org designates 204.152.186.98 as permitted sender) Received: from kahuna.osafoundation.org (HELO kahuna.osafoundation.org) (204.152.186.98) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 04 Apr 2005 14:36:17 -0700 X-Envelope-From: bcm@osafoundation.org X-Envelope-To: Received: from [10.0.1.8] (c-67-170-198-213.hsd1.ca.comcast.net [67.170.198.213]) (authenticated bits=0) by kahuna.osafoundation.org (8.12.8/8.12.8) with ESMTP id j34LaEaa003073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 4 Apr 2005 14:36:14 -0700 Message-ID: <4251B34E.1080200@osafoundation.org> Date: Mon, 04 Apr 2005 14:36:14 -0700 From: Brian Moseley User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Item.remove() access control Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N i'm having an access control problem when removing an item (via WebDAV, but i suspect that's not relevant). i'm issuing DELETE /webdav/bcm/litmus-results.txt as a regular user of my server who only has permissions on /webdav/bcm and below. DavResourceImpl calls remove() on the Item in question. somewhere below, my AccessManager is asked if read permission isGranted() on /. the answer to this question is false, and the DELETE fails with a 403. if i then stop my server and restart it, the repository seems to be out of whack, in that PROPFIND /webdav/bcm/litmus-results.txt returns empty properties D:getlastmodified, D:getcontentlength, etc. why is read permission checked on /? and what causes the erroneous PROPFIND response after the failed DELETE? thanks!