Skip to content

Commit bb1f871

Browse files
Update access_control.rst
1 parent ba1a449 commit bb1f871

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
@@ -165,6 +165,12 @@ if ``ip``, ``port``, ``host`` or ``method`` are not specified for an entry, that
165165
Matching the URI is done without ``$_GET`` parameters.
166166
:ref:`Deny access in PHP code <security-securing-controller>` if you want
167167
to disallow access based on ``$_GET`` parameter values.
168+
169+
.. notice::
170+
171+
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.
172+
173+
168174

169175
.. _security-access-control-enforcement-options:
170176

0 commit comments

Comments
 (0)