You can have as many Roles as you want for each User and vice versa.
How to set the main (default) role for the user? For example, a user has four roles: admin, moderator, developer, user. How to make one role the main, more priority? To display it in the View. For example: $user->setMainRole('some_role')/getMainRole().
You can have as many Roles as you want for each User and vice versa.
How to set the main (default) role for the user? For example, a user has four roles: admin, moderator, developer, user. How to make one role the main, more priority? To display it in the View. For example:$user->setMainRole('some_role')/getMainRole()
.