Is there an overview of all the roles in the syste...
# support-questions-legacy
m
Is there an overview of all the roles in the system somewhere? Also when creating a role for the first time, can this be done in a seed file, for example? Does supertokens remember the roles I create? Or do I have to create them each time right before I assign them to someone?
r
Hey @miguelstevensbe
There is an api to get all the roles and get all permissions per role
You can create the role when your backend api starts via post supertokens.init using the backend SDK functions
The roles are remembered since they are saved in the database
m
Great, thanks!
In which method specifialy of supertokens.init() would you run this? do you mean in a recipe?
r
It’s not in supertokens init, but after.
Please see our docs for how to create user roles
m
Are there plans in the future to show the user's roles in the dashboard as well?
r
Yes. There are.