kwin commented on a change in pull request #14:
URL:
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/14#discussion_r609926183
##########
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:
maybe here we should even give out the path of the underlying user, but
not sure how to get it from principal...
--
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]