protected function hasAccess($controllerClass, $action, $parameters = [])
    {
        $user = $this->getSession()->getUser();
        return AclProxy::hasAccess($user, $controllerClass, $action, $parameters);
    }
protected function hasAccess($controllerClass, $action, $parameters = [])
    {
        $user = $this->getSession()->getUser();
        return AclProxy::hasAccess($user, $controllerClass, $action, $parameters);
    }
protected function hasAccess ( $ controllerClass , $ action , $ parameters = [ ] ) { $ user = $ this -> getSession ( ) -> getUser ( ) ; return AclProxy :: hasAccess ( $ user , $ controllerClass , $ action , $ parameters ) ; }
Whenever or not the current user has access to a specific action
using functional and data access control

@param string $controllerClass
@param string $action
@param array $parameters
@return boolean
@throws common_exception_Error
Whenever or not the current user has access to a specific action using functional and data access control