Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec537cd

Browse files
committed
Merge branch '2.8' into 3.4
* 2.8: fix RoleVoter behaviour description
2 parents8f1ea12 +51dbe37 commitec537cd

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)

[8]ページ先頭

©2009-2025 Movatter.jp