Skip to content

Setup: Roles Groups

dante di domenico edited this page Mar 27, 2023 · 1 revision

Edit configuration

You can organize the roles in groups by settings RolesGroups configuration in config/app_local.php (or in config/projects/<projectName>.php if you use multi project configuration).

I.e.:

'RolesGroups' => [
    'BEdita Manager' => ['admin', 'manager', 'guest'],
    'Website' => ['customer'],
],

In user view, roles will be displyed in groups as set in RolesGroups.

Clone this wiki locally