From 8657bf4003d5a6df84190e9083224e297f815780 Mon Sep 17 00:00:00 2001 From: Adrien <33827077+adrien-lopez@users.noreply.github.com> Date: Thu, 16 Jan 2020 17:14:09 +0100 Subject: [PATCH] Update authorization.rst --- components/security/authorization.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/security/authorization.rst b/components/security/authorization.rst index 7d5cf3af9e2..7e3cc1e5874 100644 --- a/components/security/authorization.rst +++ b/components/security/authorization.rst @@ -124,7 +124,7 @@ RoleVoter The :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\RoleVoter` supports attributes starting with ``ROLE_`` and grants access to the user -when the required ``ROLE_*`` attributes can all be found in the array of +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` method::