Метод modelDeclaresOperations
Сигнатура метода
private static function modelDeclaresOperations(): bool
Возвращает:
bool
Описание
Whether the role model offers the configuration operations at all - the activation point of the whole model. Asked of the CRM configuration entity, and of it alone: it is the one contour the model always holds and the one whose declaration is read without touching the portal, while the entity of an automated solution is built out of the workplaces of the portal. Until CRM declares the operations no contour is looked up at all - an entity that exists without them and a contour the model does not hold both keep the former check of the asking surface, so the lookup could not change a single answer and a permission check may not pay for it. The other side of that: a workplace whose entity declared the operations while the CRM one did not would keep the former checks as well, which is the rule the model already follows for a partially declared contour ({@see operationsRegistration()}).
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/Service/UserPermissions/Configuration.php