Skip to content

Commit 640b29e

Browse files
committed
Merge branch '2.5' into 2.6
* 2.5: Fixing build error Fixing build error
2 parents 2560851 + 5deb315 commit 640b29e

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy