Skip to content
Icon

WARNING You're browsing the documentation for an old version of LARAVEL-ACL. Consider upgrading your project to laravel-acl 10.0.

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',
],
];