original_string: private function _checkAcl()
  	{
  		$aclConfig = Agl::app()->getConfig('core-layout/modules/' . $this->_module . '#' . $this->_view . '#action#' . $this->_action . '/acl');
  
  		if ($aclConfig === NULL) {
  			$aclConfig = Agl::app()->getConfig('core-layout/modules/' . $this->_module . '#' . $this->_view . '/acl');
  		}
  
  		if ($aclConfig === NULL) {
  			$aclConfig = Agl::app()->getConfig('core-layout/modules/' . $this->_module . '/acl');
  		}
  
      	if ($aclConfig !== NULL) {
  			$auth = Agl::getAuth();
  			$acl  = Agl::getSingleton(Agl::AGL_CORE_POOL . '/auth/acl');
  			if (! $acl->isAllowed($auth->getRole(), $aclConfig)) {
  	    		$acl->requestLogin();
  	    	}
          }
  
          return true;
  	}
code: private function _checkAcl()
  	{
  		$aclConfig = Agl::app()->getConfig('core-layout/modules/' . $this->_module . '#' . $this->_view . '#action#' . $this->_action . '/acl');
  
  		if ($aclConfig === NULL) {
  			$aclConfig = Agl::app()->getConfig('core-layout/modules/' . $this->_module . '#' . $this->_view . '/acl');
  		}
  
  		if ($aclConfig === NULL) {
  			$aclConfig = Agl::app()->getConfig('core-layout/modules/' . $this->_module . '/acl');
  		}
  
      	if ($aclConfig !== NULL) {
  			$auth = Agl::getAuth();
  			$acl  = Agl::getSingleton(Agl::AGL_CORE_POOL . '/auth/acl');
  			if (! $acl->isAllowed($auth->getRole(), $aclConfig)) {
  	    		$acl->requestLogin();
  	    	}
          }
  
          return true;
  	}
code_tokens: private function _checkAcl ( ) { $ aclConfig = Agl :: app ( ) -> getConfig ( 'core-layout/modules/' . $ this -> _module . '#' . $ this -> _view . '#action#' . $ this -> _action . '/acl' ) ; if ( $ aclConfig === NULL ) { $ aclConfig = Agl :: app ( ) -> getConfig ( 'core-layout/modules/' . $ this -> _module . '#' . $ this -> _view . '/acl' ) ; } if ( $ aclConfig === NULL ) { $ aclConfig = Agl :: app ( ) -> getConfig ( 'core-layout/modules/' . $ this -> _module . '/acl' ) ; } if ( $ aclConfig !== NULL ) { $ auth = Agl :: getAuth ( ) ; $ acl = Agl :: getSingleton ( Agl :: AGL_CORE_POOL . '/auth/acl' ) ; if ( ! $ acl -> isAllowed ( $ auth -> getRole ( ) , $ aclConfig ) ) { $ acl -> requestLogin ( ) ; } } return true ; }
docstring: Check if the current user can trigger the action with its Acl
  configuration.
  
  @return bool
docstring_tokens: Check if the current user can trigger the action with its Acl configuration .