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

JWTJsonAuthenticatedAction should let users pass that have roles in addition to allowed roles #102

Closed
mkr opened this issue Feb 24, 2022 · 0 comments

Comments

@mkr
Copy link
Collaborator

mkr commented Feb 24, 2022

Currently, when the allowed roles are ["smui"] the JWTJsonAuthenticatedAction will deny access to a user with roles ["smui", "other-role"] because all roles of a user have to be in the allowed roles. I think we should ignore other roles and let users pass that have at least one of the allowed roles.

@mkr mkr closed this as completed in 4cf5f19 Feb 25, 2022
mkr added a commit that referenced this issue Feb 25, 2022
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

No branches or pull requests

1 participant