Pass-thru function for ACL allow instance. Allow methods
are used to grant an ARO access to an ACO.
public allow ( array | string | Model $aro, array | string | Model $aco, string $action = "*" ) : boolean | ||
$aro | array | string | Model | ARO The requesting object identifier. See `AclNode::node()` for possible formats |
$aco | array | string | Model | ACO The controlled object identifier. See `AclNode::node()` for possible formats |
$action | string | Action (defaults to *) |
Результат | boolean | Success |