From b80500756b4cfdb33393cd937d2fae1f12951fbd Mon Sep 17 00:00:00 2001 From: HypeMC Date: Tue, 19 Jul 2022 10:14:47 +0200 Subject: [PATCH] [Security] Add link to page with expressions --- security.rst | 1 + security/expressions.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/security.rst b/security.rst index 9639d7c7e9a..a658f9d5049 100644 --- a/security.rst +++ b/security.rst @@ -1092,6 +1092,7 @@ Authorization (Denying Access) .. toctree:: :maxdepth: 1 + security/expressions security/voters security/securing_services security/access_control diff --git a/security/expressions.rst b/security/expressions.rst index 3c3aa6e0795..e8e17524142 100644 --- a/security/expressions.rst +++ b/security/expressions.rst @@ -1,7 +1,7 @@ .. index:: single: Expressions in the Framework -Security: Complex Access Controls with Expressions +Complex Access Controls with Expressions ================================================== .. seealso:: @@ -14,7 +14,7 @@ accepts an :class:`Symfony\\Component\\ExpressionLanguage\\Expression` object:: // src/Controller/MyController.php namespace App\Controller; - + use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\ExpressionLanguage\Expression; use Symfony\Component\HttpFoundation\Response;