Skip to content

Allow ACL to be owned by GrantedAuthoritySid #9454

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

Closed
wants to merge 6 commits into from

Conversation

bberto
Copy link
Contributor

@bberto bberto commented Feb 12, 2021

Allow ACL to be owned by GrantedAuthoritySid

Closes gh-9425

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 12, 2021
@bberto bberto changed the title Gh 9425 Allow ACL to be owned by GrantedAuthoritySid Feb 12, 2021
@jgrandja
Copy link
Contributor

Closing as per comment

@jgrandja jgrandja closed this Feb 23, 2021
@jgrandja jgrandja added in: acl An issue in spring-security-acl status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 23, 2021
@jgrandja jgrandja reopened this Mar 8, 2021
@jgrandja jgrandja added type: enhancement A general enhancement and removed status: declined A suggestion or change that we don't feel we should currently apply labels Mar 8, 2021
Copy link
Contributor

@jgrandja jgrandja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @bberto. Please see review comment.


AclAuthorizationStrategyImpl strategy;

@Before
public void setup() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert this change and preserve the @Before method and create a withUserRoles() static helper method instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switching back to @Before method I realized that helper method is not needed

@jgrandja jgrandja added this to the 5.5.0-M3 milestone Mar 11, 2021
@jgrandja jgrandja added the status: duplicate A duplicate of another issue label Mar 11, 2021
@jgrandja
Copy link
Contributor

Thanks for the PR @bberto. This is now in master.

@jgrandja jgrandja closed this Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: acl An issue in spring-security-acl status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ACL can't be owned by a GrantedAuthoritySid
3 participants