Skip to content

Commit

Permalink
Merge branch '2.7'
Browse files Browse the repository at this point in the history
* 2.7:
  Fixing build error
  Fixing build error
  • Loading branch information
weaverryan committed Dec 31, 2014
2 parents 9e5fc6c + 640b29e commit 56db7af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -924,8 +924,6 @@ special attributes like this:
this - this is useful when *whitelisting* URLs to guarantee access - some
details are in :doc:`/cookbook/security/access_control`.

.. _security-secure-objects:

.. _book-security-template-expression:

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

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

.. _security-secure-objects:

Access Control Lists (ACLs): Securing individual Database Objects
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion cookbook/expression/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Inside the expression, you have access to a number of variables:
The user object (or the string ``anon`` if you're not authenticated).
``roles``
The array of roles the user has, including from the
:ref:`role hierarchy <book-security-role-hierarchy>` but not including the
:ref:`role hierarchy <security-role-hierarchy>` but not including the
``IS_AUTHENTICATED_*`` attributes (see the functions below).
``object``
The object (if any) that's passed as the second argument to ``isGranted``.
Expand Down

0 comments on commit 56db7af

Please sign in to comment.