• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/FileUploader/CommentUploaderController.php
  • Класс: Bitrix\Crm\FileUploader\CommentUploaderController
  • Вызов: CommentUploaderController::canView
public function canView(): bool
{
	['entityTypeId' => $entityTypeId, 'entityId' => $entityId] = $this->getOptions();

	return $this->userPermissions->checkReadPermissions($entityTypeId, $entityId);
}