Метод assertCanEdit
Сигнатура метода
public function assertCanEdit(int $userId): void
Возвращает:
void
Описание
The right every scenario here starts with: may this user change CRM forms at all. Published so that a caller can ask it before doing any work of its own on the input. Reading an input first would answer a user without the right with the make-up of a contract they may not use. The scenarios ask it again on their own: the order of a caller is not what the write layer stands on.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/WebForm/FormWriter.php
Расположение метода в файле
Строки
353–359