Метод checkPermissionForTypeAndAttributes
Сигнатура метода
private static function checkPermissionForTypeAndAttributes(string $permissionType, $entityTypeName, $entityID, $userPermissions = null, $entityAttrs = null): bool
Возвращает:
bool
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$permissionType
|
string
|
—
|
—
|
$entityTypeName
|
—
|
—
|
—
|
$entityID
|
—
|
—
|
—
|
$userPermissions
|
—
|
null
|
—
|
$entityAttrs
|
—
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/classes/general/crm_authorization_helper.php
Расположение метода в файле
Строки
126–175