betagt/useraclmanager

View on GitHub
src/config/acl.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

return [

    /**
     * Model definitions.
     * If you want to use your own model and extend it
     * to package's model. You can define your model here.
     */

    'role'       => \BetaGT\UserAclManager\Models\Role::class,
    'permission' => \BetaGT\UserAclManager\Models\Permission::class,

    /**
     * Most Permissive Wins right
     * If you have multiple permission aliases assigned, each alias
     * has a common permission, view.house => false, but one alias
     * has it set to true. If this right is enabled, true value
     * wins the race, ie the most permissive wins.
     */

    'most_permissive_wins'       => true,

    /**
     * Cache Minutes
     * Set the minutes that roles and permissions will be cached.
     */
        
    'cacheMinutes' => 0,
];