Метод resetOperationsRegistrationCache

public static

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

public static function resetOperationsRegistrationCache(): void

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

Описание

Forgets what the activation probe answered. The probe reads the role model rather than a user, so its answer is kept for the whole process ({@see $registrationByEntityCode}) and none of the caches a role write drops reaches it: a role written in this same process needs it dropped along with the loaded permissions of the users, and a test that asks about both states of the model needs it dropped between the two.

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

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

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

Исходный код

PHP