Acl\Shell\AclShell::inherit PHP Method

inherit() public method

Set an ARO to inherit permission to an ACO.
public inherit ( ) : void
return void
    public function inherit()
    {
        extract($this->_getParams());
        if ($this->Acl->inherit($aro, $aco, $action)) {
            $this->out(__d('cake_acl', 'Permission inherited.'));
        } else {
            $this->out(__d('cake_acl', 'Permission was not inherited.'));
        }
    }