Skip to content

Commit 5b07491

Browse files
committed
Partially revert "fix voting on multiple roles behavior description"
This partially reverts commit 4b76554. See symfony/symfony@c935e4a
1 parent d987792 commit 5b07491

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

security/access_control.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ options:
157157
* ``roles`` If the user does not have the given role, then access is denied
158158
(internally, an :class:`Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException`
159159
is thrown). If this value is an array of multiple roles, the user must have
160-
at least one of them.
160+
at least one of them (when using the default ``affirmative`` strategy in the
161+
:ref:`Access Decision Manager <components-security-access-decision-manager>`)
162+
or all of them when using the ``unanimous`` strategy;
161163

162164
* ``allow_if`` If the expression returns false, then access is denied;
163165

0 commit comments

Comments
 (0)