• Модуль: voximplant
  • Путь к файлу: ~/bitrix/modules/voximplant/lib/integration/report/handler/base.php
  • Класс: BitrixVoximplantIntegrationReportHandlerBase
  • Вызов: Base::isCurrentUserHasAccess
protected function isCurrentUserHasAccess(): bool
{
	$allowedIds = $this->getAllowedUserIds();

	$isAllowedAll = ($allowedIds === null);
	$hasAllowedIds = (is_array($allowedIds) && $allowedIds[0]);

	return ($isAllowedAll || $hasAllowedIds);
}