File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -167,8 +167,10 @@ role::
167167Roles
168168-----
169169
170- Roles are strings that give expression to a certain right the user has. The only
171- requirement is that they must start with the ``ROLE_ `` prefix.
170+ Roles are strings that give expression to a certain right the user has (e.g.
171+ *"edit a blog post" *, *"create an invoice" *). You can freely choose those
172+ strings. The only requirement is that they must start with the ``ROLE_ `` prefix
173+ (e.g. ``ROLE_POST_EDIT ``, ``ROLE_INVOICE_CREATE ``).
172174
173175Using the Decision Manager
174176--------------------------
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ to show a link to exit impersonation:
9898Finding the Original User
9999-------------------------
100100
101- versionadded:: 4.3
101+ .. versionadded :: 4.3
102102
103103 The ``SwitchUserToken `` class was introduced in Symfony 4.3.
104104
You can’t perform that action at this time.
0 commit comments