Skip to content

Commit

Permalink
Update access_control.rst
Browse files Browse the repository at this point in the history
The correct keyword is "roles"
  • Loading branch information
asandjivy authored and wouterj committed Aug 26, 2016
1 parent bb0d522 commit 7c35e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/access_control.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7c35e0c

Please sign in to comment.