31 lines
772 B
PHP
31 lines
772 B
PHP
<?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' => 'Kodeine\Acl\Models\Eloquent\Role',
|
|
'permission' => 'Kodeine\Acl\Models\Eloquent\Permission',
|
|
|
|
/**
|
|
* 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' => false,
|
|
|
|
/**
|
|
* Cache Minutes
|
|
* Set the minutes that roles and permissions will be cached.
|
|
*/
|
|
|
|
'cacheMinutes' => 1,
|
|
];
|