jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vidar Ramdal" <vi...@idium.no>
Subject Limiting access to node children in Jackrabbit 1.5
Date Thu, 22 May 2008 09:52:40 GMT
Continuing a thread (http://markmail.org/message/tz3zfoddbmwgllgy )
from users@j.a.o:

Vidar Ramdal wrote:
>>>> I want to set access control policies so that a parent
>>>> node (e.g. /node) is readable for Everyone, but a child
>>>> node (/node/childnode) is only readable for specific principals.
>>>> So I grant READ to Everyone on the parent node. This
>>>> renders /node and the entire subtree readable for everyone.
>>>> Next, I want to specify NO_PRIVILEGES for Everyone on
>>>> the protected child node, and grant READ access to a specific
>>>>  user on the child node
>>>> [...]

Angela Schreiber wrote:
>>> [...]
>>> the jackrabbit implementation currently allows to
>>> edit a policy obtained through AccessControlManager.getPolicy
>>> and there you may add a DENY ace.
>>> [...]

Vidar Ramdal wrote:
>> How do I create an instance of an ACE? Both PolicyEntryImpl
>> and ACEImpl are package local, as is ACLEditor ...

Jukka Zitting wrote:
> Could we take this to dev@ please?

So devs, how do I create an instance of an ACE?

-- 
Vidar S. Ramdal <vidar@idium.no> - http://www.idium.no
Akersgata 16, N-0158 Oslo, Norway

Mime
View raw message