Skip to content

feat: check auth roles#4

Open
HBLAB-TruongTT wants to merge 1 commit into
yousufkalim:mainfrom
HBLAB-TruongTT:feat/check-auth-roles
Open

feat: check auth roles#4
HBLAB-TruongTT wants to merge 1 commit into
yousufkalim:mainfrom
HBLAB-TruongTT:feat/check-auth-roles

Conversation

@HBLAB-TruongTT
Copy link
Copy Markdown

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