Метод assertCanEdit

public

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

public function assertCanEdit(int $userId): void

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

Описание

The right this scenario starts with: may this user change CRM forms at all. Published for the same reason {@see FormWriter::assertCanEdit()} is: a caller reading the input first would answer a user without the right with the make-up of a contract they may not use. The scenario asks it again on its own - the order of a caller is not what the write stands on.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/WebForm/EmbeddingWriter.php
Расположение метода в файле
Строки 153–159

Исходный код

PHP