public function removePermission($action)
    {
        // Permission must be set before we can remove it ...
        if ($this->grant($this->getPermissions(), $action) === true) {
            $this->setPermissions(
                $this->getPermissions() - $this->getKey($action)
            );
        }

        // Chaining API
        return $this;
    }
public function removePermission($action)
    {
        // Permission must be set before we can remove it ...
        if ($this->grant($this->getPermissions(), $action) === true) {
            $this->setPermissions(
                $this->getPermissions() - $this->getKey($action)
            );
        }

        // Chaining API
        return $this;
    }
public function removePermission ( $ action ) { // Permission must be set before we can remove it ... if ( $ this -> grant ( $ this -> getPermissions ( ) , $ action ) === true ) { $ this -> setPermissions ( $ this -> getPermissions ( ) - $ this -> getKey ( $ action ) ) ; } // Chaining API return $ this ; }
Removes an action to the bitmask property when generating a new permissions code.

@param string $action The action that should not be allowed.

@author Benjamin Carl <opensource@clickalicious.de>
@return Doozr_Acl_Service The current instance for chaining
@access public
Removes an action to the bitmask property when generating a new permissions code .