summaryrefslogtreecommitdiff
path: root/docs/tutorials/bfgwiki2/authorization.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-01 19:45:22 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-01 19:45:22 +0000
commitb06175f5e7656f3e61750efee94930e79a9b1499 (patch)
tree7148ba0d025b121fb1b95f5cc6559c84f30d0969 /docs/tutorials/bfgwiki2/authorization.rst
parent18c63899b0f2e2fb8a02188267a71e0a0159ed4b (diff)
downloadpyramid-b06175f5e7656f3e61750efee94930e79a9b1499.tar.gz
pyramid-b06175f5e7656f3e61750efee94930e79a9b1499.tar.bz2
pyramid-b06175f5e7656f3e61750efee94930e79a9b1499.zip
- Fix various tutorials broken by 1.1a9 ``<route>`` directive changes.
Diffstat (limited to 'docs/tutorials/bfgwiki2/authorization.rst')
-rw-r--r--docs/tutorials/bfgwiki2/authorization.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/tutorials/bfgwiki2/authorization.rst b/docs/tutorials/bfgwiki2/authorization.rst
index d2a181281..ac5f98c8d 100644
--- a/docs/tutorials/bfgwiki2/authorization.rst
+++ b/docs/tutorials/bfgwiki2/authorization.rst
@@ -85,11 +85,12 @@ authorized. We'll also change ``configure.zcml`` to add a
``forbidden`` stanza which points at our login view. This configures
our newly created login view to show up when :mod:`repoze.bfg` detects
that a view invocation can not be authorized. Also, we'll add
-``permission`` attributes with the value ``edit`` to the ``edit_page``
-and ``add_page`` routes. This indicates that the views which these
-routes reference cannot be invoked without the authenticated user
-possessing the ``edit`` permission with respect to the current
-context. When you're done, your ``configure.zcml`` will look like so
+``view_permission`` attributes with the value ``edit`` to the
+``edit_page`` and ``add_page`` routes. This indicates that the views
+which these routes reference cannot be invoked without the
+authenticated user possessing the ``edit`` permission with respect to
+the current context. When you're done, your ``configure.zcml`` will
+look like so
.. literalinclude:: src/authorization/tutorial/configure.zcml
:linenos: