Skip to main content
Version: 2.0

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

KeyDescription
guest_roleDefines the name of the guest role when no identity exists.
Defaults to 'guest'.
role_providerDefines the role provider.
Defaults to []
See the Role Providers section.
assertion_mapDefines the dynamic assertions that are associated to permissions.
Defaults to [].
See the Dynamic Assertions section.
assertion_managerProvides a configuration for the Assertion Plugin Manager.
Defaults to [].
See the Dynamic Assertion section.