• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/Debugger/Session/Manager.php
  • Класс: BitrixBizprocDebuggerSessionManager
  • Вызов: Manager::canUserDebugAutomation
static function canUserDebugAutomation(int $userId, array $parameterDocumentType): bool
{
	return static::isAvailable($parameterDocumentType) && CBPDocument::canUserOperateDocumentType(
		CBPCanUserOperateOperation::DebugAutomation,
		$userId,
		$parameterDocumentType
	);
}