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

Testing role permissions, not user #254

Open
cabrinoob opened this issue Oct 12, 2017 · 1 comment
Open

Testing role permissions, not user #254

cabrinoob opened this issue Oct 12, 2017 · 1 comment

Comments

@cabrinoob
Copy link

Hi, is it possible to just test the role permissions, not the user ?
I'd like to use this to set a role (or a list of roles) in a JWT token. In the payload of the token I just have a roles property.

@josencv
Copy link

josencv commented May 23, 2018

This can be done with areAnyRolesAllowed

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

2 participants