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;
	}