Skip to content

Commit 6ae5f0a

Browse files
Update access_control.rst
1 parent c92d9e9 commit 6ae5f0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

security/access_control.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@ if ``ip``, ``port``, ``host`` or ``method`` are not specified for an entry, that
169169
Matching the URI is done without ``$_GET`` parameters.
170170
:ref:`Deny access in PHP code <security-securing-controller>` if you want
171171
to disallow access based on ``$_GET`` parameter values.
172+
173+
.. notice::
174+
175+
If you have a custom request matcher, you can use the ``request_matcher`` option to specify the service reference to an access control item. Symfony will use this service as the request matcher for this item and won't take into account other matching options.
176+
177+
172178

173179
.. _security-access-control-enforcement-options:
174180

0 commit comments

Comments
 (0)