access() public method

allow/deny ARO access to ARO
public access ( string $aro, string $aco, string $action, string $type = 'deny' ) : void
$aro string ARO string
$aco string ACO string
$action string Action string
$type string access type
return void
Ejemplo n.º 1
0
 /**
  * deny ARO access to ACO
  *
  * @param string $aro ARO The requesting object identifier.
  * @param string $aco ACO The controlled object identifier.
  * @param string $action Action (defaults to *)
  * @return bool Success
  */
 public function deny($aro, $aco, $action = "*")
 {
     return $this->Aco->access($this->Aro->resolve($aro), $aco, $action, 'deny');
 }