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``::
19341934 }
19351935
19361936This 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
19411941You'll use these roles next to grant access to specific sections of your site.
19421942
You can’t perform that action at this time.
0 commit comments