Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Repoinit Parser 1.6.2, Repoinit JCR 1.1.30
-
None
-
None
Description
Sling Repoinit doesn't always seem to respect the sequence of statements specified in a configuration file.
For example:
create group Group_A create group Group_B set ACL for Group_A allow jcr:read on /content deny jcr:write on /content/example end set ACL for Group_B allow jcr:read on /var deny jcr:write on /var/example end delete group Group_A delete group Group_B
In the above example, overall execution of script fails because the creation and deletion of groups happen first and only then the 'set ACL' instructions are attempted and they're unable to find the Authorizable.
Not sure if this is a timing / sync issue when the statements are executed or because of the design which takes into account the 'type' of statements.