Метод legacyDecision

private

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

private function legacyDecision(ConfigurationCallSite $callSite, ConfigurationScope $scope, ConfigurationOperation $capability): bool

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

Описание

The former check of the asking surface, the answer while the contour does not declare the operations. The table of the surfaces, which is why it cannot be reduced to the capability: managing stages was global in `CCrmStatus` and contextual in the category domain and in the mobile controllers. The whole funnel screen was contextual, tunnels included: the write actions of `crm.sales.tunnels` pass through `init()` alone, and `TunnelManager` checks nothing of its own - its two live write entries are that screen and the mobile stage controller. The contextual check has two forms of its own and they disagree for the contractor category, so a surface keeps the form its former point used: the write actions of the mobile funnel controller passed the category on, the mobile stage controller never did. $capability is part of the table as well - it is what tells apart a surface whose actions used to check different things - even though no surface needs it today.

Параметры

3
Имя Тип По умолчанию Флаги
$callSite ConfigurationCallSite —
—
$scope ConfigurationScope —
—
$capability ConfigurationOperation —
—

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

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

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

Исходный код

PHP