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' . |
role_provider | Defines the role provider. Defaults to [] See the Role Providers section. |
assertion_map | Defines the dynamic assertions that are associated to permissions. Defaults to [] .See the Dynamic Assertions section. |
assertion_manager | Provides a configuration for the Assertion Plugin Manager. Defaults to [] .See the Dynamic Assertion section. |