You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: security/voters.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -102,8 +102,8 @@ decides this using whatever logic you want.
102
102
103
103
The ``denyAccessUnlessGranted()`` and ``isGranted()`` functions are both
104
104
just shortcuts of the ``Controller`` class to call ``isGranted()`` on
105
-
the ``security.authorization_checker`` service.
106
-
105
+
the ``security.authorization_checker`` service. ``denyAccessUnlessGranted()`` will throw an ``AccessDeniedException``, whereas ``isGranted()`` will return a boolean.
0 commit comments