You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
I'm new to this library, so might be wrong, but I see that "role" is a single value string.
I guess there no built-in solution for that but what's the best way to support multiple roles for user?
E.g. that "req.decoded.role" will be an array of roles.
Thanks!
Elad.
The text was updated successfully, but these errors were encountered:
@eladbs I have not explored the possibility of multiple roles. If you have an idea on how this can be implemented and improve the functionality of the project please feel free raise A PR.
Hi,
I'm new to this library, so might be wrong, but I see that "role" is a single value string.
I guess there no built-in solution for that but what's the best way to support multiple roles for user?
E.g. that "req.decoded.role" will be an array of roles.
Thanks!
Elad.
The text was updated successfully, but these errors were encountered: