Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit29c0fc1

Browse files
committed
Minor tweaks
1 parent4ef7da3 commit29c0fc1

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)

[8]ページ先頭

©2009-2025 Movatter.jp