Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46dea5b

Browse files
committed
fix voting on multiple roles behavior description
1 parent 6d5f268 commit 46dea5b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

reference/twig_reference.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ is_granted
294294

295295
Returns ``true`` if the current user has the given role. If several roles are
296296
passed in an array, ``true`` is returned if the user has at least one of
297-
them or all of them, depending on the
298-
:ref:`Access Decision Manager strategy <security-access-control-enforcement-options>`.
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)