We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f1ea12 + 51dbe37 commit ec537cdCopy full SHA for ec537cd
reference/twig_reference.rst
@@ -293,9 +293,8 @@ is_granted
293
**type**: ``string``
294
295
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>`.
+passed in an array, ``true`` is returned if the user has at least one of
+them.
299
300
Optionally, an object can be passed to be used by the voter. More information
301
can be found in :ref:`security-template`.
0 commit comments