Skip to content

Commit a6b7672

Browse files
committed
fixed expression
1 parent cd5eb11 commit a6b7672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Additionally, you have access to a number of functions inside the expression:
6161
Similar, but not equal to ``IS_AUTHENTICATED_REMEMBERED``, see below.
6262
``is_fully_authenticated``
6363
Similar, but not equal to ``IS_AUTHENTICATED_FULLY``, see below.
64-
``has_role``
64+
``is_granted``
6565
Checks to see if the user has the given role - equivalent to an expression like
6666
``'ROLE_ADMIN' in roles``.
6767

0 commit comments

Comments
 (0)