Метод canAdd

public

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

public function canAdd(?int $automatedSolutionId = null): bool

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

Описание

Can user add a dynamic type (smart-process) The right of the contour the type is created in ({@see Configuration::canManageDynamicTypes()}), `null` and `0` alike being CRM. A locked automated solution stays forbidden whatever the right says - that ban is a product condition of this surface and not part of the capability, and it is asked about every identifier the contour is read from.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/Service/UserPermissions/DynamicType.php
Расположение метода в файле
Строки 32–49

Исходный код

PHP