Skip to content

Commit 462f36a

Browse files
committed
Revert "minor #12371 [Security] Deprecated using more than one role in access_control rules (javiereguiluz)"
This reverts commit 8f9a31a, reversing changes made to e1b79e0.
1 parent 42e0e7d commit 462f36a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

security/access_control.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,6 @@ Take the following ``access_control`` entries as an example:
103103
],
104104
]);
105105
106-
.. deprecated:: 4.4
107-
108-
Using more than one role in a single ``access_control`` rule is deprecated
109-
and will stop working in Symfony 5.0.
110-
111106
For each incoming request, Symfony will decide which ``access_control``
112107
to use based on the URI, the client's IP address, the incoming host name,
113108
and the request method. Remember, the first rule that matches is used, and
@@ -164,11 +159,6 @@ options:
164159
is thrown). If this value is an array of multiple roles, the user must have
165160
at least one of them.
166161

167-
.. deprecated:: 4.4
168-
169-
Using more than one role in a single ``access_control`` rule is deprecated
170-
and will stop working in Symfony 5.0.
171-
172162
* ``allow_if`` If the expression returns false, then access is denied;
173163

174164
* ``requires_channel`` If the incoming request's channel (e.g. ``http``)

0 commit comments

Comments
 (0)