summaryrefslogtreecommitdiff
path: root/docs/narr/security.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-11-11 21:14:34 -0500
committerChris McDonough <chrism@plope.com>2013-11-11 21:14:34 -0500
commita5cfb685eed6a32a3ae5aa2af91f1590cd77bc89 (patch)
tree31910085ff8be123931819787a8c25e5acf48d1e /docs/narr/security.rst
parent133b9e069cdd5a48d47e2bb2587186a91b255700 (diff)
parent0dcd56c2c30863c6683c0cf442aa73dfdcd11b13 (diff)
downloadpyramid-a5cfb685eed6a32a3ae5aa2af91f1590cd77bc89.tar.gz
pyramid-a5cfb685eed6a32a3ae5aa2af91f1590cd77bc89.tar.bz2
pyramid-a5cfb685eed6a32a3ae5aa2af91f1590cd77bc89.zip
Merge branch 'feature.security-apis-on-request'
Diffstat (limited to 'docs/narr/security.rst')
-rw-r--r--docs/narr/security.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/security.rst b/docs/narr/security.rst
index e85ed823a..9e6fb6c82 100644
--- a/docs/narr/security.rst
+++ b/docs/narr/security.rst
@@ -550,7 +550,7 @@ also contain security debugging information in its body.
Debugging Imperative Authorization Failures
-------------------------------------------
-The :func:`pyramid.security.has_permission` API is used to check
+The :meth:`pyramid.request.Request.has_permission` API is used to check
security within view functions imperatively. It returns instances of
objects that are effectively booleans. But these objects are not raw
``True`` or ``False`` objects, and have information attached to them
@@ -563,7 +563,7 @@ one of :data:`pyramid.security.ACLAllowed`,
``msg`` attribute, which is a string indicating why the permission was
denied or allowed. Introspecting this information in the debugger or
via print statements when a call to
-:func:`~pyramid.security.has_permission` fails is often useful.
+:meth:`~pyramid.request.Request.has_permission` fails is often useful.
.. index::
single: authentication policy (creating)