Detailed Description
NullPermissionManager acts like an absent PermissionManager.
Definition at line 20 of file NullPermissionManager.php.
Inheritance diagram for NullPermissionManager:Public Member Functions | |
| authorize ($resource, $context, $action, $login=null, $applyDefaultPolicy=true) | |
| addTempPermission ($resource, $context, $action) | |
| removeTempPermission ($handle) | |
| hasTempPermission ($resource, $context, $action) | |
| clearTempPermissions () | |
| getPermissions ($resource, $context, $action) | |
| setPermissions ($resource, $context, $action, $permissions) | |
| createPermission ($resource, $context, $action, $role, $modifier) | |
| removePermission ($resource, $context, $action, $role) | |
Additional Inherited Members | |
Public Attributes inherited from PermissionManager | |
| const | PERMISSION_MODIFIER_ALLOW = '+' |
| const | PERMISSION_MODIFIER_DENY = '-' |
Member Function Documentation
◆ authorize()
| authorize | ( | $resource, | |
| $context, | |||
| $action, | |||
$login = null, |
|||
$applyDefaultPolicy = true |
|||
| ) |
- See also
- PermissionManager::authorize()
Implements PermissionManager.
Definition at line 31 of file NullPermissionManager.php.
◆ addTempPermission()
| addTempPermission | ( | $resource, | |
| $context, | |||
| $action | |||
| ) |
Implements PermissionManager.
Definition at line 38 of file NullPermissionManager.php.
◆ removeTempPermission()
| removeTempPermission | ( | $handle | ) |
Implements PermissionManager.
Definition at line 44 of file NullPermissionManager.php.
◆ hasTempPermission()
| hasTempPermission | ( | $resource, | |
| $context, | |||
| $action | |||
| ) |
Implements PermissionManager.
Definition at line 50 of file NullPermissionManager.php.
◆ clearTempPermissions()
| clearTempPermissions | ( | ) |
Implements PermissionManager.
Definition at line 57 of file NullPermissionManager.php.
◆ getPermissions()
| getPermissions | ( | $resource, | |
| $context, | |||
| $action | |||
| ) |
Implements PermissionManager.
Definition at line 63 of file NullPermissionManager.php.
◆ setPermissions()
| setPermissions | ( | $resource, | |
| $context, | |||
| $action, | |||
| $permissions | |||
| ) |
Implements PermissionManager.
Definition at line 70 of file NullPermissionManager.php.
◆ createPermission()
| createPermission | ( | $resource, | |
| $context, | |||
| $action, | |||
| $role, | |||
| $modifier | |||
| ) |
Implements PermissionManager.
Definition at line 76 of file NullPermissionManager.php.
◆ removePermission()
| removePermission | ( | $resource, | |
| $context, | |||
| $action, | |||
| $role | |||
| ) |
Implements PermissionManager.
Definition at line 83 of file NullPermissionManager.php.