File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ Inside the expression, you have access to a number of variables:
39
39
``user ``
40
40
The user object (or the string ``anon `` if you're not authenticated).
41
41
``roles ``
42
- The array of roles the user has, including from the
43
- :ref: `role hierarchy <security-role-hierarchy >` but not including the
44
- ``IS_AUTHENTICATED_* `` attributes (see the functions below).
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).
45
45
``object ``
46
46
The object (if any) that's passed as the second argument to ``isGranted() ``.
47
47
``token ``
You can’t perform that action at this time.
0 commit comments