• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/storeselector.php
  • Класс: BitrixCatalogControllerStoreSelector
  • Вызов: StoreSelector::processBeforeAction
protected function processBeforeAction(Action $action)
{
	if (
		$this->accessController->check(ActionDictionary::ACTION_CATALOG_READ)
		|| $this->accessController->check(ActionDictionary::ACTION_CATALOG_VIEW)
	)
	{
		return parent::processBeforeAction($action);
	}

	$this->addError(new Error('Access denied'));

	return false;
}