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 58fd048 + 673e8e9 commit a687046Copy full SHA for a687046
components/security/authorization.rst
@@ -122,8 +122,8 @@ RoleVoter
122
123
The :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleVoter`
124
supports attributes starting with ``ROLE_`` and grants access to the user
125
-when the required ``ROLE_*`` attributes can all be found in the array of
126
-roles returned by the token's :method:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface::getRoleNames`
+when at least one required ``ROLE_*`` attribute can be found in the array of
+roles returned by the token's :method:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface::getRoles`
127
method::
128
129
use Symfony\Component\Security\Core\Authorization\Voter\RoleVoter;
0 commit comments