8000 Minor tweaks · symfony/symfony-docs@29c0fc1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 29c0fc1

Browse files
committed
Minor tweaks
1 parent 4ef7da3 commit 29c0fc1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

components/security/authorization.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,10 @@ role::
167167
Roles
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

173175
Using the Decision Manager
174176
--------------------------

security/impersonating_user.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ to show a link to exit impersonation:
9898
Finding 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

0 commit comments

Comments
 (0)
0