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

	return false;
}