From b06175f5e7656f3e61750efee94930e79a9b1499 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 1 Nov 2009 19:45:22 +0000 Subject: - Fix various tutorials broken by 1.1a9 ```` directive changes. --- docs/tutorials/bfgwiki2/authorization.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'docs/tutorials/bfgwiki2/authorization.rst') 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: -- cgit v1.2.3