Configuring LmcRbac
LmcRbac is configured via the lmc_rbac key in the application config.
This is typically achieved by creating
a config/autoload/lmcrbac.global.php file. A sample configuration file is provided in the config/ folder.
Reference
| Key | Description |
|---|---|
guest_role | Defines the name of the guest role when no identity exists. Defaults to 'guest'. |
assertion_map | Defines the dynamic assertions that are associated to permissions. Defaults to [].See the Dynamic Assertions section. |
role_provider | Defines the role provider. Defaults to []See the Role Providers section. |