Skip to content

[Security] Merging "list" into text #17438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1934,12 +1934,9 @@ database and every user is *always* given at least one role: ``ROLE_USER``::
}

This is a nice default, but you can do *whatever* you want to determine which roles
a user should have. Here are a few guidelines:

* Every role **must start with** ``ROLE_`` (otherwise, things won't work as expected)

* Other than the above rule, a role is just a string and you can invent what you
need (e.g. ``ROLE_PRODUCT_ADMIN``).
a user should have. The only rule is that every role **must start with** ``ROLE_`` -
otherwise, things won't work as expected. Other than that, a role is just a string
and you can invent whatever you need (e.g. ``ROLE_PRODUCT_ADMIN``).

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

Expand Down