Метод configureActions

public

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

public function configureActions()

Описание

Restricts the state-changing endpoints to POST (security hardening). Appended via '+prefilters' so Engine's default Authentication and CSRF guards are kept; the default HttpMethod filter allows GET+POST, this stricter one rejects GET. Other actions keep the framework defaults untouched. The frontend already calls upgrade over POST (both the grid action request and the constants submit); checkExistingRuns is here because it spends the personal right to see the warning, so it is not a safe method.

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Infrastructure/Controller/Integration/AiAgent/Template.php
Расположение метода в файле
Строки 89–103

Исходный код

PHP