We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd5eb11 commit a6b7672Copy full SHA for a6b7672
security/expressions.rst
@@ -61,7 +61,7 @@ Additionally, you have access to a number of functions inside the expression:
61
Similar, but not equal to ``IS_AUTHENTICATED_REMEMBERED``, see below.
62
``is_fully_authenticated``
63
Similar, but not equal to ``IS_AUTHENTICATED_FULLY``, see below.
64
-``has_role``
+``is_granted``
65
Checks to see if the user has the given role - equivalent to an expression like
66
``'ROLE_ADMIN' in roles``.
67
0 commit comments