Skip to main content
Version: 1.4

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'.
assertion_mapDefines the dynamic assertions that are associated to permissions.
Defaults to [].
See the Dynamic Assertions section.
role_providerDefines the role provider.
Defaults to []
See the Role Providers section.