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 a1427e5 commit 33bcdeaCopy full SHA for 33bcdea
security.rst
@@ -602,8 +602,8 @@ For more information, see the `FrameworkExtraBundle documentation`_.
602
Access Control in Templates
603
...........................
604
605
-If you want to check if the current access inside a template, use
606
-the built-in ``is_granted()`` helper function:
+If you want to check if the current user has a certain role, you can use
+the built-in ``is_granted()`` helper function in any Twig template:
607
608
.. code-block:: html+twig
609
0 commit comments