File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -294,8 +294,7 @@ is_granted
294294
295295Returns ``true `` if the current user has the given role. If several roles are
296296passed 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
300299Optionally, an object can be passed to be used by the voter. More information
301300can be found in :ref: `security-template `.
Original file line number Diff line number Diff line change @@ -134,9 +134,7 @@ options:
134134* ``roles `` If the user does not have the given role, then access is denied
135135 (internally, an :class: `Symfony\\ Component\\ Security\\ Core\\ Exception\\ AccessDeniedException `
136136 is thrown). If this value is an array of multiple roles, the user must have
137- at least one of them (when using the default ``affirmative `` strategy in the
138- :ref: `Access Decision Manager <components-security-access-decision-manager >`)
139- or all of them when using the ``unanimous `` strategy;
137+ at least one of them.
140138
141139* ``allow_if `` If the expression returns false, then access is denied;
142140
You can’t perform that action at this time.
0 commit comments