I would suggest to split it up into two packages and make the ACL package depend on the user package. You can even put those two packages into a common container package. The dependencies will enforce the right installation order. Konrad
> Am 21.08.2020 um 18:47 schrieb Robert Munteanu <[email protected]>: > > Hi, > > I am trying to install a content package that includes: > > - two users under /home/users/slingshot > - content with ACEs that reference the two users under > /content/slingshot > > When installing the content packages I see that the /content entry is > processed first, leading to errors like > > E /content/slingshot/users/slingshot1/rep:policy > ! org.xml.sax.SAXException: > javax.jcr.security.AccessControlException: Unknown principal slingshot1 > javax.jcr.security.AccessControlException: Unknown principal slingshot1 > > and only later on is the user created > > - /home > - /home/users > A /home/users/slingshot > A /home/users/slingshot/slingshot1 > > Obviously, reinstalling the content package fixes the problem but I'm > looking for a more error-safe way of installing the content package. > > How can I install this content package with users and ACEs from without > errors? > > Thanks, > Robert >
