Skip to content

Commit 77ace60

Browse files
committed
Removed the "roles" variable
1 parent b06017a commit 77ace60

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

security/expressions.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ Inside the expression, you have access to a number of variables:
3838

3939
``user``
4040
The user object (or the string ``anon`` if you're not authenticated).
41-
``roles``
42-
The array of roles the user has. This array includes any roles granted
43-
indirectly via the :ref:`role hierarchy <security-role-hierarchy>` but it
44-
does not include the ``IS_AUTHENTICATED_*`` attributes (see the functions below).
4541
``role_names``
4642
An array with the string representation of the roles the user has. This array
4743
includes any roles granted indirectly via the :ref:`role hierarchy <security-role-hierarchy>` but it

0 commit comments

Comments
 (0)