Метод canAccess
Сигнатура метода
private function canAccess(int $actorUserId, ?int $targetUserId, Context $context, string $scope, bool $isWrite): bool
Возвращает:
bool
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$actorUserId
|
int
|
—
|
—
|
$targetUserId
|
?int
|
—
|
—
|
$context
|
Context
|
—
|
—
|
$scope
|
string
|
—
|
—
|
$isWrite
|
bool
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Access/EntityEditor/Layout/Access.php
Расположение метода в файле
Строки
114–156