File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1934,9 +1934,9 @@ database and every user is *always* given at least one role: ``ROLE_USER``::
1934
1934
}
1935
1935
1936
1936
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 ``).
1940
1940
1941
1941
You'll use these roles next to grant access to specific sections of your site.
1942
1942
You can’t perform that action at this time.
0 commit comments