• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/documentgenerator/dataprovider/storedocument.php
  • Класс: Bitrix\Crm\Integration\DocumentGenerator\DataProvider\StoreDocument
  • Вызов: StoreDocument::hasAccess
public function hasAccess($userId)
{
	if ($this->isLoaded())
	{
		return Loader::includeModule('catalog') && AccessController::getCurrent()->check(ActionDictionary::ACTION_CATALOG_READ);
	}

	return false;
}