jackrabbit-oak-dev mailing list archives

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

it's not for the access control evaluation nor for access
by path that the query is used... is for the jackrabbit api
extensions that retrieve access control content by principal.

you don't want a repository traversal there... trust me ;-)

angela

On 1/24/13 2:22 PM, Jukka Zitting wrote:
> Hi,
>
> 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.
>
> BR,
>
> Jukka Zitting

Mime
View raw message