Hi Marco

I vaguely remember that the verification for the read-only status of a 
checked-in versionable node does not include the built-in access control 
content. But I don't recall if that because the specification mandates this or 
if it's a bug.

But the error you get is expected: a checked-in node should be immutable. So, 
you first need to call checkout in order to modify it.

Kind regards
Angela
________________________________
From: Marco Piovesana <[email protected]>
Sent: Thursday, March 5, 2020 12:38 PM
To: [email protected] <[email protected]>
Subject: add ACE containing restrictions throws exception

Hi all,
I'm trying to add an ACE with a custom restriction to a versioned node, but
when I save the session I get the error:
*OakVersion0001: Cannot add property jcr:primaryType on checked in node*

If I add the same ACE without the restriction I don't get any error. Is it
a bug or there is something that I don't understand?

Marco.

Reply via email to