Свойство | Тип | Описание | |
---|---|---|---|
$defaultPermissions | |||
$simpleRbacAuthorize |
Метод | Описание | |
---|---|---|
badPermissionProvider ( ) | ||
providerAuthorize ( ) | ||
setUp ( ) | Sets up the fixture, for example, opens a network connection. | |
tearDown ( ) | Tears down the fixture, for example, closes a network connection. | |
testAuthorize ( $permissions, $user, $requestParams, $expected, $msg = null ) | ||
testBadPermission ( array $permissions, array $user, array $requestParams, string $expectedMsg ) | ||
testConstruct ( ) | ||
testConstructMissingPermissionsFile ( ) | ||
testConstructPermissionsFileHappy ( ) | ||
testLoadPermissions ( ) : void | test |
Метод | Описание | |
---|---|---|
_requestFromArray ( array $params ) : Cake\Network\Request | ||
assertConstructorPermissions ( $instance, $config, $permissions ) | ||
preparePermissions ( $permissions ) |
protected _requestFromArray ( array $params ) : Cake\Network\Request | ||
$params | array | |
Результат | Cake\Network\Request |
protected assertConstructorPermissions ( $instance, $config, $permissions ) |
public testAuthorize ( $permissions, $user, $requestParams, $expected, $msg = null ) |
public testConstructMissingPermissionsFile ( ) |