Hey @everyone
We have released user roles feature:
https://supertokens.com/docs/userroles/introduction
- Using this, you can associate an array of permissions to a role and an array of roles to a user.
- You can also modify the session to add the roles and permissions so that you can protect frontend routes an APIs based on the role of the user.