public static function checkAcl($pGroupId, $pBlockId)
	{
		$blockConfig = Agl::app()->getConfig('core-layout/blocks/' . $pGroupId . '#' . $pBlockId);
		if (is_array($blockConfig) and isset($blockConfig['acl'])) {
			$auth = Agl::getAuth();
			$acl  = Agl::getSingleton(Agl::AGL_CORE_POOL . '/auth/acl');
			if (! $acl->isAllowed($auth->getRole(), $blockConfig['acl'])) {
				return false;
			}
		}

        return true;
	}