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

Show correct menu items according to the granted authorizations #671

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

MKodde
Copy link
Contributor

@MKodde MKodde commented Aug 21, 2024

As of 17th of July it was possible to both be SurfConextResponsible AND have a regular ROLE_USER at the same time. This was already correctly handled by the Authz logic, but the menu did not yet show the correct menu items for the roles the user is authorized for..

That's what fixed here. At first I thought the SamlProvider was broken, hence the (cosmetic) change in the Test.

See: https://www.pivotaltracker.com/story/show/186881796/comments/242257534

As of 17th of July it was possible to both be SurfConextResponsible AND
have a regular ROLE_USER at the same time. This was already correctly
handled by the Authz logic, but the menu did not yet show the correct
menu items for the roles the user is authorized for..

That's what fixed here. At first I thought the SamlProvider was broken,
hence the (cosmetic) change in the Test.

See: https://www.pivotaltracker.com/story/show/186881796/comments/242257534
@MKodde MKodde changed the title Show correct menu items according to authz Show correct menu items according to the granted authorizations Aug 21, 2024
@MKodde MKodde requested a review from quartje August 21, 2024 13:13
@MKodde
Copy link
Contributor Author

MKodde commented Aug 22, 2024

Bart functionally reviewed this. Given the simple nature of this PR.. Merging..

@MKodde MKodde merged commit 7aed592 into main Aug 22, 2024
2 of 3 checks passed
@MKodde MKodde deleted the bugfix/show-correct-menu-entries branch August 22, 2024 07:02
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

Successfully merging this pull request may close these issues.

1 participant