From 125e9746a5da925243dabf67b2609b556bb9215a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 28 Dec 2009 04:12:10 +0000 Subject: Adjust for 7.5x9.25in output. --- docs/tutorials/bfgwiki/authorization.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'docs/tutorials/bfgwiki/authorization.rst') diff --git a/docs/tutorials/bfgwiki/authorization.rst b/docs/tutorials/bfgwiki/authorization.rst index cb0f8439e..52e7cc528 100644 --- a/docs/tutorials/bfgwiki/authorization.rst +++ b/docs/tutorials/bfgwiki/authorization.rst @@ -23,13 +23,12 @@ Changing ``configure.zcml`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~ We'll change our ``configure.zcml`` file to enable an -:class:`repoze.bfg.authentication.AuthTktAuthenticationPolicy` and an -:class:`repoze.bfg.authorization.ACLAuthorizationPolicy` to enable -declarative security checking. We'll also add a ``forbidden`` stanza, -which species a :term:`forbidden view`. This configures our login -view to show up when :mod:`repoze.bfg` detects that a view invocation -can not be authorized. When you're done, your ``configure.zcml`` will -look like so: +``AuthTktAuthenticationPolicy`` and an ``ACLAuthorizationPolicy`` to +enable declarative security checking. We'll also add a ``forbidden`` +stanza, which species a :term:`forbidden view`. This configures our +login view to show up when :mod:`repoze.bfg` detects that a view +invocation can not be authorized. When you're done, your +``configure.zcml`` will look like so: .. literalinclude:: src/authorization/tutorial/configure.zcml :linenos: @@ -123,7 +122,9 @@ class="main_content">`` div: .. code-block:: xml :linenos: - Logout + + Logout + Giving Our Root Model Object an ACL ----------------------------------- -- cgit v1.2.3