Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Conversation

@vlaurin
Copy link
Collaborator

@vlaurin vlaurin commented Mar 13, 2025

Removal of roles from authorities in 081b5bb was a mistake, this change reverts authorities to being the concatenation of both scopes and roles. However, it is not correct for roles and scopes to not distinguishable in authorities. Spring addresses this by prefixing scopes with SCOPE_ and roles with ROLE_. This change follows this practice.

Removal of roles from authorities in 081b5bb was a mistake, this change reverts authorities to being the concatenation of both scopes and roles.
However, it is not correct for roles and scopes to not distinguishable in authorities.
Spring addresses this by prefixing scopes with `SCOPE_` and roles with `ROLE_`.
This change follows this practice.
@vlaurin vlaurin added the type:bug Something isn't working label Mar 13, 2025
@vlaurin vlaurin requested a review from gbenadikar March 13, 2025 19:01
@vlaurin vlaurin merged commit 6b65dc1 into main Mar 14, 2025
4 checks passed
@vlaurin vlaurin deleted the full-authorities branch March 14, 2025 09:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants