File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -167,8 +167,10 @@ role::
167
167
Roles
168
168
-----
169
169
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 ``).
172
174
173
175
Using the Decision Manager
174
176
--------------------------
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ to show a link to exit impersonation:
98
98
Finding the Original User
99
99
-------------------------
100
100
101
- versionadded:: 4.3
101
+ .. versionadded :: 4.3
102
102
103
103
The ``SwitchUserToken `` class was introduced in Symfony 4.3.
104
104
You can’t perform that action at this time.
0 commit comments