Метод | Описание | |
---|---|---|
allow ( string $aro, string $aco, string $actions = '*', integer $value = 1 ) : boolean | Allow $aro to have access to action $actions in $aco | |
check ( string $aro, string $aco, string $action = '*' ) : boolean | Checks if the given $aro has access to action $action in $aco | |
getAclLink ( string $aro, string $aco ) : array | Get an array of access-control links between the given Aro and Aco | |
getAcoKeys ( array $keys ) : array | Get the crud type keys | |
initialize ( array $config ) : void | {@inheritDoc} |
public allow ( string $aro, string $aco, string $actions = '*', integer $value = 1 ) : boolean | ||
$aro | string | ARO The requesting object identifier. |
$aco | string | ACO The controlled object identifier. |
$actions | string | Action (defaults to *) Invalid permissions will result in an exception |
$value | integer | Value to indicate access type (1 to give access, -1 to deny, 0 to inherit) |
Результат | boolean | Success |
public getAcoKeys ( array $keys ) : array | ||
$keys | array | Permission schema |
Результат | array | permission keys |
public initialize ( array $config ) : void | ||
$config | array | Configuration |
Результат | void |