mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 00:01:00 +08:00
improve use_can()
This commit is contained in:
@@ -15,6 +15,10 @@ class Setting extends NexusModel
|
||||
|
||||
public static array $permissionMustHaveClass = ['defaultclass', 'staffmem'];
|
||||
|
||||
const CLASS_PERMISSION_SET_KEY_PREFIX = 'nexus_class_permissions_';
|
||||
const DIRECT_PERMISSION_SET_KEY_PREFIX = 'nexus_direct_permissions_';
|
||||
const ROLE_PERMISSION_SET_KEY_PREFIX = 'nexus_role_permissions_';
|
||||
|
||||
/**
|
||||
* get setting autoload = yes with cache
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user