From 7b6808e789ee2c7fcadbfa451bf605667699d2cb Mon Sep 17 00:00:00 2001 From: asandjivy Date: Sun, 21 Aug 2016 15:15:27 +0200 Subject: [PATCH] Update access_control.rst The correct keyword is "roles" --- security/access_control.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/access_control.rst b/security/access_control.rst index 046847b2d54..6377a8eed3c 100644 --- a/security/access_control.rst +++ b/security/access_control.rst @@ -131,7 +131,7 @@ Once Symfony has decided which ``access_control`` entry matches (if any), it then *enforces* access restrictions based on the ``roles``, ``allow_if`` and ``requires_channel`` options: -* ``role`` If the user does not have the given role(s), then access is denied +* ``roles`` If the user does not have the given role(s), then access is denied (internally, an :class:`Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException` is thrown);