• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/config.php
  • Класс: BitrixCatalogControllerConfig
  • Вызов: Config::processBeforeAction
protected function processBeforeAction(Action $action): ?bool
{
	$r = $this->checkPermission($action->getName(), $action->getArguments());
	if ($r->isSuccess())
	{
		//do nothing
	}
	else
	{
		$this->addErrors($r->getErrors());
		return null;
	}

	return parent::processBeforeAction($action);
}