Skip to content
Icon

WARNING You're browsing the documentation for an upcoming version of Laravel Acl. The documentation and features of this release are subject to change.

General Settings

You can change the Role and Permission model to be used by the package on this configuration.

The configuration file can be found at config/acl.php.

return [
/**
* User class used for ACL.
*/
'user' => App\Models\User::class,
 
/**
* Role class used for ACL.
*/
'role' => Yajra\Acl\Models\Role::class,
 
/**
* Permission class used for ACL.
*/
'permission' => Yajra\Acl\Models\Permission::class,
 
/**
* Cache config.
*/
'cache' => [
'enabled' => true,
 
'key' => 'permissions.policies',
],
];