Метод canReadSourceDocument

private

Сигнатура метода

private function canReadSourceDocument(array $row, int $userId): bool

Возвращает: bool

Описание

Deny by default: values of unknown origin are not handed out. A snapshot without a source document has nothing to authorize against, and the capture never writes one, so this is the same refusal the caller already gets for an inaccessible document - an empty map, not a distinguishable answer.

Параметры

2
Имя Тип По умолчанию Флаги
$row array —
—
$userId int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Public/Service/LastValues/LastValuesService.php
Расположение метода в файле
Строки 125–142

Исходный код

PHP