Hi all, I was trying to change the permissions on a *versioned* node and i
found two things that I don't quite understand:
1) If i try to do an AccessControlUtils.addAccessControlEntry(...) i got an
error if the node in not checked-out (and this seems consistent with what
written on JCR-1639 <https://issues.apache.org/jira/browse/JCR-1639>).
However I can do an AccessControlUtils.clear(...) without any error. Why?
Aren't they both changing the ACL?

2) When I do AccessControlUtils.addAccessControlEntry(...) the error that i
receive is: *OakVersion0001: Cannot add property jcr:mixinTypes on checked
in node*. Why a change on the ACL should change the *jcr:mixinTypes*? My
node was already versionable.

One last question: if I want to change the permissions without having to
check-out the node what I have to do? (I can do that by setting the
*jcr:mixinTypes* to *IGNORE* but i don't think is the right way... or not?)


Marco.

Reply via email to