Skip to content

[Security] Add link to page with expressions #17011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,7 @@ Authorization (Denying Access)
.. toctree::
:maxdepth: 1

security/expressions
security/voters
security/securing_services
security/access_control
Expand Down
4 changes: 2 additions & 2 deletions security/expressions.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. index::
single: Expressions in the Framework

Security: Complex Access Controls with Expressions
Complex Access Controls with Expressions
==================================================

.. seealso::
Expand All @@ -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;
Expand Down