8000 Merge branch '2.7' · symfony/symfony-docs@56db7af · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 56db7af

Browse files
committed
Merge branch '2.7'
* 2.7: Fixing build error Fixing build error
2 parents 9e5fc6c + 640b29e commit 56db7af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

book/security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,6 @@ special attributes like this:
924924
this - this is useful when *whitelisting* URLs to guarantee access - some
925925
details are in :doc:`/cookbook/security/access_control`.
926926

927-
.. _security-secure-objects:
928-
929927
.. _book-security-template-expression:
930928

931929
.. versionadded:: 2.4
@@ -953,6 +951,8 @@ You can also use expressions inside your templates:
953951

954952
For more details on expressions and security, see :ref:`book-security-expressions`.
955953

954+
.. _security-secure-objects:
955+
956956
Access Control Lists (ACLs): Securing individual Database Objects
957957
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
958958

cookbook/expression/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Inside the expression, you have access to a number of variables:
6464
The user object (or the string ``anon`` if you're not authenticated).
6565
``roles``
6666
The array of roles the user has, including from the
67-
:ref:`role hierarchy <book-security-role-hierarchy>` but not including the
67+
:ref:`role hierarchy <security-role-hierarchy>` but not including the
6868
``IS_AUTHENTICATED_*`` attributes (see the functions below).
6969
``object``
7070
The object (if any) that's passed as the second argument to ``isGranted``.

0 commit comments

Comments
 (0)
0