Custom roles
Here you can define Custom Roles that can be assigned to users.
How to use custom roles
You can then reference users' custom roles in code, in the implementation of the Permissions function. They are available on the user object received as argument.