8000 Merge branch '2.8' into 3.4 · symfony/symfony-docs@ec537cd · GitHub
[go: up one dir, main page]

Skip to content

Commit ec537cd

Browse files
committed
Merge branch '2.8' into 3.4
* 2.8: fix RoleVoter behaviour description
2 parents 8f1ea12 + 51dbe37 commit ec537cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

reference/twig_reference.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,8 @@ is_granted
293293
**type**: ``string``
294294

295295
Returns ``true`` if the current user has the given role. If several roles are
296-
passed in an array, returns ``true`` if the user has all of them or at least one
297-
of them, depending on the value of this option:
298-
:ref:`security.access_decision_manager.strategy <security-voters-change-strategy>`.
296+
passed in an array, ``true`` is returned if the user has at least one of
297+
them.
299298

300299
Optionally, an object can be passed to be used by the voter. More information
301300
can be found in :ref:`security-template`.

0 commit comments

Comments
 (0)
0