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

feat: check auth roles #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HBLAB-TruongTT
Copy link

When check auth on each route
Each route allow many roles
And each user can have many roles, if 1 of those roles match, then should allow them to get in that route

current approach only allow 1 role, I update this to check if 1 of user's roles match then they are allow to get in

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.

2 participants