Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit51181f5

Browse files
Splitting & adding versionadded directive
1 parenta05c78c commit51181f5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎security.rst‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2117,8 +2117,14 @@ Prepending the path with ``^`` means that only URLs *beginning* with the
21172117
pattern are matched. For example, a path of ``/admin`` (without the ``^``)
21182118
would match ``/admin/foo`` but would also match URLs like ``/foo/admin``.
21192119

2120-
Each ``access_control`` can also match on IP address, hostname and HTTP methods or be directly configured by passing a service implementing `RequestMatcherInterface` through the `request_matcher` option.
2120+
Each ``access_control`` can also match on IP address, hostname and HTTP methods.
21212121
It can also be used to redirect a user to the ``https`` version of a URL pattern.
2122+
2123+
..versionadded::6.1
2124+
2125+
Since Symfony 6.1, an access control rule can also be directly configured by passing a service
2126+
implementing `RequestMatcherInterface` through the `request_matcher` option.
2127+
21222128
See:doc:`/security/access_control`.
21232129

21242130
.. _security-securing-controller:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp