Skip to content

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

+2-2
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

+1-1
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)