Метод hasOwnerPermission
Сигнатура метода
private function hasOwnerPermission(int $userId, ActivityBinding $owner, Operation $operation): bool
Возвращает:
bool
Описание
Whether the user may do to the bound CRM object what the operation needs of it. Completing and postponing need what updating needs; the provider is what tells them apart, and it has already spoken.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$owner
|
ActivityBinding
|
—
|
—
|
$operation
|
Operation
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Access/Activity/ActivityAccess.php
Расположение метода в файле
Строки
368–381