Skip to content

Commit 70f06e8

Browse files
committed
minor #6899 Update access_control.rst (asandjivy)
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #6899). Discussion ---------- Update access_control.rst The correct keyword is "roles" Commits ------- 7c35e0c Update access_control.rst
2 parents bb0d522 + 7c35e0c commit 70f06e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/access_control.rst

+1-1
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)