library/Garp/Controller/Plugin/Auth.php
protected function _isAllowed() {
        // check if a user may view this page
        $request = $this->getRequest();
        return Garp_Auth::getInstance()->isAllowed(
            $request->getControllerName(),
            $request->getActionName()
        );
    }
protected function _isAllowed() {
        // check if a user may view this page
        $request = $this->getRequest();
        return Garp_Auth::getInstance()->isAllowed(
            $request->getControllerName(),
            $request->getActionName()
        );
    }
protected function _isAllowed ( ) { // check if a user may view this page $ request = $ this -> getRequest ( ) ; return Garp_Auth :: getInstance ( ) -> isAllowed ( $ request -> getControllerName ( ) , $ request -> getActionName ( ) ) ; }
See if a role is allowed to execute the current request.
@return Boolean
See if a role is allowed to execute the current request .