Acl\Shell\AclShell::deny PHP Méthode

deny() public méthode

Deny access for an ARO to an ACO.
public deny ( ) : void
Résultat void
    public function deny()
    {
        extract($this->_getParams());
        if ($this->Acl->deny($aro, $aco, $action)) {
            $this->out(__d('cake_acl', 'Permission denied.'));
        } else {
            $this->out(__d('cake_acl', 'Permission was not denied.'));
        }
    }