Метод operationsRegistration
Сигнатура метода
private function operationsRegistration(ConfigurationScope $scope): ?bool
Возвращает:
?bool
Описание
Whether the configuration entity of the contour declares the operations, and `null` when the model holds no such entity at all - a digital workplace that never existed or was already deleted ({@see can()}). Deliberately the declaration of the role model and not a stored row: a role without the new row is a role that was not granted the operation, while a model without the operation is a model where the operation does not exist yet, and only the second one may fall back to the former checks. All the operations are required: a partially declared contour keeps the former behaviour rather than opening half of the new one.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$scope
|
ConfigurationScope
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/Service/UserPermissions/Configuration.php