jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: Accessing ACLs (Was: [jira] [Created] (OAK-581) IndexDefinition for Access Control Content)
Date Thu, 24 Jan 2013 13:29:27 GMT

Yes, I would also try to avoid using a query to read the ACLs from the
content tree (for multiple reasons: to avoid maintaining indexes, to speed
up access, to simplify caching).


On 1/24/13 2:22 PM, "Jukka Zitting" <jukka.zitting@gmail.com> wrote:

>On Thu, Jan 24, 2013 at 10:11 AM, angela (JIRA) <jira@apache.org> wrote:
>> since query is used to retrieve to used retrieve ac content by
>> principal, the ac impl should define an property index for the
>> rep:principalName defined by rep:ACE node type.
>Is it essential for the access control code to use query? I would
>assume that it would be both easier (i.e. less code) and more
>efficient to simply read the relevant ACLs directly from the content
>tree being accessed.
>Jukka Zitting

View raw message