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

Support custom role claims #197

Merged
merged 3 commits into from
Jan 20, 2025
Merged

Support custom role claims #197

merged 3 commits into from
Jan 20, 2025

Conversation

pnal
Copy link
Contributor

@pnal pnal commented Jan 20, 2025

From specification:

...If the sender of the message wants to include a role from another vocabulary namespace, by best practice it should
use a fully-qualified URI
to identify the role......
....it MUST contain at least one role from the role vocabularies described in [role vocabularies]

So this PR aims to allow non-vocabulary role claims in a form of URI

@pnal pnal changed the title Feat/aut 4040/custom roles Support custom role claims Jan 20, 2025
@pnal pnal marked this pull request as ready for review January 20, 2025 13:12
Copy link

@Karol-Stelmaczonek Karol-Stelmaczonek left a comment

Choose a reason for hiding this comment

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

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful

src/Role/Type/CustomRole.php Outdated Show resolved Hide resolved
src/Role/Type/CustomRole.php Outdated Show resolved Hide resolved
Signed-off-by: Nikita Pimenov <[email protected]>
@pnal pnal merged commit db40dac into master Jan 20, 2025
5 checks passed
@pnal pnal deleted the feat/AUT-4040/custom-roles branch January 20, 2025 20:44
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.

3 participants