• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/restriction/rights.php
  • Класс: BitrixLandingRestrictionRights
  • Вызов: Rights::isAllowed
static function isAllowed(): bool
{
	if (BitrixLandingSiteType::getCurrentScopeId() === 'GROUP')
	{
		return true;
	}

	if (Manager::getOption('permissions_available', 'N') == 'Y')
	{
		return true;
	}

	if (BitrixMainLoader::includeModule('bitrix24'))
	{
		return Feature::isFeatureEnabled('landing_permissions_available');
	}

	return true;
}