Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions security/access_control.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,15 @@ and functions including ``request``, which is the Symfony
For a list of the other functions and variables, see
:ref:`functions and variables <security-expression-variables>`.

.. tip::

The ``allow_if`` expressions can also contain custom functions registered
with :ref:`expression providers <components-expression-language-provider>`.

.. versionadded:: 4.1
The feature to use custom functions inside ``allow_if`` expressions was
introduced in Symfony 4.1.

Forcing a Channel (http, https)
-------------------------------

Expand Down