Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassCastException when purging authorizables #479

Open
inedoviesov1 opened this issue Jul 14, 2020 · 2 comments
Open

ClassCastException when purging authorizables #479

inedoviesov1 opened this issue Jul 14, 2020 · 2 comments

Comments

@inedoviesov1
Copy link

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

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.

@kwin
Copy link
Member

kwin commented Jul 14, 2020

PR highly appreciated!

@inedoviesov1
Copy link
Author

In few weeks after vacation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants