jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@adobe.com>
Subject Re: remove read-access for everyone from a principal ACL based workspace
Date Tue, 08 May 2012 06:36:54 GMT

first you can turn that read access for everyone off in the access
control provider configuration of your workspace.

second you can't remove protected nodes such as e.g. the access
control content. in order to remove that access control list you
have to remove the policy through the API.
-> JackrabbitAccessControlManager#removePolicy

kind regards

On 5/7/12 9:11 AM, Malzer Ferdinand OSP sIT wrote:
> Hello,
> We use a principal ACL based workspace, but we won't that every user has read access
to the workspace.
> So we tried to remove node "/rep:accesscontrol/everyone" from the workspace.
> Unfortunately we get the following exception:
> javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is
> 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:276)
> Does somebody know how to configure a principal ACL based workspace to avoid read-access
for everyone?
> Thx in advance!
> ferry malzer

View raw message