Метод CheckCreatePermission
Сигнатура метода
public static function CheckCreatePermission(?string $entityId = null): bool
Возвращает:
bool
Описание
$entityId is the dictionary the status belongs to. Only the stage groups of a funnel follow the granular stage right; every other dictionary of this class - sources, industries, honorifics - keeps the CRM administrator check, and so does a caller that names no dictionary at all.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityId
|
?string
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/classes/general/crm_status.php
Расположение метода в файле
Строки
1793–1796