Open inedoviesov1 opened 4 years ago
We have a group "GroupA" (created by ACTool) and we have a CUG configured on some page to allow access for this group. Now we do not need this group anymore and would like to delete it. When running ACTool we get an exception: Exception while purgin authorizables: java.lang.ClassCastException: org.apache.jackrabbit.oak.spi.security.authorization.cug.impl.CugPolicyImpl cannot be cast to javax.jcr.security.AccessControlList Source https://github.com/Netcentric/accesscontroltool/blob/faa8a902d19dad35e9a33d2c8b958430f8b8de82/accesscontroltool-bundle/src/main/java/biz/netcentric/cq/tools/actool/impl/AcInstallationServiceImpl.java#L840
Exception while purgin authorizables: java.lang.ClassCastException: org.apache.jackrabbit.oak.spi.security.authorization.cug.impl.CugPolicyImpl cannot be cast to javax.jcr.security.AccessControlList
While this error is valid and should prevent the deletion of the group, would be nice to have more information in the logs, what group could not be deleted, and what is the path in the repository.
PR highly appreciated!
In few weeks after vacation.
We have a group "GroupA" (created by ACTool) and we have a CUG configured on some page to allow access for this group. Now we do not need this group anymore and would like to delete it. When running ACTool we get an exception:
Exception while purgin authorizables: java.lang.ClassCastException: org.apache.jackrabbit.oak.spi.security.authorization.cug.impl.CugPolicyImpl cannot be cast to javax.jcr.security.AccessControlList
Source https://github.com/Netcentric/accesscontroltool/blob/faa8a902d19dad35e9a33d2c8b958430f8b8de82/accesscontroltool-bundle/src/main/java/biz/netcentric/cq/tools/actool/impl/AcInstallationServiceImpl.java#L840While this error is valid and should prevent the deletion of the group, would be nice to have more information in the logs, what group could not be deleted, and what is the path in the repository.