Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 14440 invoked from network); 10 Aug 2010 10:22:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Aug 2010 10:22:47 -0000 Received: (qmail 98182 invoked by uid 500); 10 Aug 2010 10:22:46 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 97869 invoked by uid 500); 10 Aug 2010 10:22:44 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 97858 invoked by uid 99); 10 Aug 2010 10:22:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 10:22:43 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 10:22:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7AAMIgK024056 for ; Tue, 10 Aug 2010 10:22:18 GMT Message-ID: <27635705.251451281435738635.JavaMail.jira@thor> Date: Tue, 10 Aug 2010 06:22:18 -0400 (EDT) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-2700) Allow for wildcard restriction in resource-based ACEs In-Reply-To: <27059437.182421281027197226.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-2700. ------------------------- Resolution: Fixed the resourcebased access control model has been extended to allow a single "glob" restriction to be added for ACEs, which works according to the pattern defined by Node#getNodes(String[]) with the following special cases. any other restriction will be used to determine the exact match to the target path. - no restriction works as before: the ACE takes effect on the complete subtree as it used to be before. - an empty string restriction forces the ACE to take effect on the node it has been applied. known limitations: - the pattern is a simple string value. it isn't namespace sensitive and makes no attempt to convert the any qualified name(fragments) to internal name representations. a restriction "*/my:property" will be evaluated literally and will never match a my:property item if the corresponding namespace uri gets remapped to some other prefix. - the current implementation has not yet been optimized... this will be covered by JCR-2573 > Allow for wildcard restriction in resource-based ACEs > ----------------------------------------------------- > > Key: JCR-2700 > URL: https://issues.apache.org/jira/browse/JCR-2700 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core, security > Affects Versions: 2.1.0 > Reporter: angela > Assignee: angela > Priority: Minor > Fix For: 2.2.0 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.