Skip to content

Commit 7c35e0c

Browse files
asandjivywouterj
authored andcommitted
Update access_control.rst
The correct keyword is "roles"
1 parent bb0d522 commit 7c35e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/access_control.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Once Symfony has decided which ``access_control`` entry matches (if any),
131131
it then *enforces* access restrictions based on the ``roles``, ``allow_if`` and ``requires_channel``
132132
options:
133133

134-
* ``role`` If the user does not have the given role(s), then access is denied
134+
* ``roles`` If the user does not have the given role(s), then access is denied
135135
(internally, an :class:`Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException`
136136
is thrown);
137137

0 commit comments

Comments
 (0)