summaryrefslogtreecommitdiff
path: root/docs/narr/traversal.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-05-27 04:52:51 +0000
committerChris McDonough <chrism@agendaless.com>2009-05-27 04:52:51 +0000
commita1a9fb7128c935848b17c0ce6586991098a17f07 (patch)
tree5160f28be92202033c693caa335f8b9cda3c6379 /docs/narr/traversal.rst
parent08ead74d05e25f58c83712f6f8651484ddc983d0 (diff)
downloadpyramid-a1a9fb7128c935848b17c0ce6586991098a17f07.tar.gz
pyramid-a1a9fb7128c935848b17c0ce6586991098a17f07.tar.bz2
pyramid-a1a9fb7128c935848b17c0ce6586991098a17f07.zip
Merge authchanges branch to trunk.
Diffstat (limited to 'docs/narr/traversal.rst')
-rw-r--r--docs/narr/traversal.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/narr/traversal.rst b/docs/narr/traversal.rst
index 467916779..8eba623e4 100644
--- a/docs/narr/traversal.rst
+++ b/docs/narr/traversal.rst
@@ -135,13 +135,13 @@ code to execute:
for the name ``b``, the router deems that the context is "object
``a``", the view name is ``b`` and the subpath is ``['c']``.
-#. If a :term:`security policy` is configured, the router performs a
- permission lookup. If a permission declaration is found for the
- view name and context implied by the current request, the security
- policy is consulted to see if the "current user" (also determined
- by the security policy) can perform the action. If he can,
- processing continues. If he cannot, an ``HTTPUnauthorized`` error
- is raised.
+#. If a :term:`authentication policy` is configured, the router
+ performs a permission lookup. If a permission declaration is
+ found for the view name and context implied by the current
+ request, an :term:`authorization policy` is consulted to see if
+ the "current user" (al determined by the the authentication
+ policy) can perform the action. If he can, processing continues.
+ If he cannot, an ``HTTPUnauthorized`` error is raised.
#. Armed with the context, the view name, and the subpath, the router
performs a view lookup. It attemtps to look up a view from the