Skip to content

Commit 155bbf4

Browse files
committed
Minor tweak
1 parent 903893c commit 155bbf4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1934,9 +1934,9 @@ database and every user is *always* given at least one role: ``ROLE_USER``::
19341934
}
19351935

19361936
This is a nice default, but you can do *whatever* you want to determine which roles
1937-
a user should have. The only rule is that every role **must start with** ``ROLE_`` -
1938-
otherwise, things won't work as expected. Other than that, a role is just a string
1939-
and you can invent whatever you need (e.g. ``ROLE_PRODUCT_ADMIN``).
1937+
a user should have. The only rule is that every role **must start with** the
1938+
``ROLE_`` prefix - otherwise, things won't work as expected. Other than that,
1939+
a role is just a string and you can invent whatever you need (e.g. ``ROLE_PRODUCT_ADMIN``).
19401940

19411941
You'll use these roles next to grant access to specific sections of your site.
19421942

0 commit comments

Comments
 (0)