Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 621 Bytes

general-settings.md

File metadata and controls

33 lines (26 loc) · 621 Bytes

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