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 @@ -175,8 +175,7 @@ is_granted
175175
176176Returns ``true `` if the current user has the given role. If several roles are
177177passed in an array, ``true `` is returned if the user has at least one of
178- them or all of them, depending on the
179- :ref: `Access Decision Manager strategy <security-access-control-enforcement-options >`.
178+ them.
180179
181180Optionally, an object can be passed to be used by the voter. More information
182181can be found in :ref: `security-template `.
Original file line number Diff line number Diff line change @@ -147,9 +147,7 @@ options:
147147* ``roles `` If the user does not have the given role, then access is denied
148148 (internally, an :class: `Symfony\\ Component\\ Security\\ Core\\ Exception\\ AccessDeniedException `
149149 is thrown). If this value is an array of multiple roles, the user must have
150- at least one of them (when using the default ``affirmative `` strategy in the
151- :ref: `Access Decision Manager <components-security-access-decision-manager >`)
152- or all of them when using the ``unanimous `` strategy;
150+ at least one of them.
153151
154152* ``allow_if `` If the expression returns false, then access is denied;
155153
You can’t perform that action at this time.
0 commit comments