kwin commented on a change in pull request #14:
URL:
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/14#discussion_r610408268
##########
File path: src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java
##########
@@ -203,6 +203,7 @@ public static void setPrincipalAcl(Session session, String
principalName, Collec
}
final PrincipalAccessControlList acl =
getPrincipalAccessControlList(acMgr, principal);
+ checkState(acl != null, "No PrincipalAccessControlList available for
principal '" + principal + "'.");
Review comment:
Thanks for the hint, implemented in
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/14/commits/1f5c6db769fd942515f90a9301e65f943f2bfd8a
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]