-
Notifications
You must be signed in to change notification settings - Fork 6k
ACL can't be owned by a GrantedAuthoritySid #9425
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
Comments
@bberto I'm trying to understand the issue but it's not clear at the moment. Can you put together a test that demonstrates the issue and another test that you would expect to pass. |
@jgrandja I created a pull request including the test and a proposed fix |
@bberto Thank you for providing the PR to demonstrate your use case. The sample code you provided:
is not correct from a logical entity relationship viewpoint. An Hope this makes sense? Based on this, I'm going to close this issue and associated PR. |
Your explanation is reasonable. But, reading documentation, seems that Acl is not owned by a
I think that, if only a My PR allow to correctly manage Acl after this assignment. Otherwise I think that |
Describe the bug
ACL can't be owned by a GrantedAuthoritySid
To Reproduce
As user with a role named TEST, after successfully changing an ACL ownership in this way:
I can't perform further modifications to the ACL (eg. changing back the ownership to me).
see:
https://github.com/spring-projects/spring-security/blob/master/acl/src/main/java/org/springframework/security/acls/domain/AclAuthorizationStrategyImpl.java#L92
Expected behavior
Any user with ROLE_TEST granted authority should be able to change the ACL.
The text was updated successfully, but these errors were encountered: