From 44f1df7b7cec671fec92ead513804e52e63eb76d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 28 Dec 2009 22:41:03 +0000 Subject: Fix overlong lines. --- docs/tutorials/bfgwiki2/authorization.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'docs/tutorials/bfgwiki2/authorization.rst') diff --git a/docs/tutorials/bfgwiki2/authorization.rst b/docs/tutorials/bfgwiki2/authorization.rst index 3f0aed342..ea4c7b4e4 100644 --- a/docs/tutorials/bfgwiki2/authorization.rst +++ b/docs/tutorials/bfgwiki2/authorization.rst @@ -78,12 +78,11 @@ 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 change ``configure.zcml`` -to add a ``forbidden`` stanza which points at our ``login`` -:term:`view callable`, also known as a :term:`forbidden view`. This -configures our newly created login view to show up when +``AuthTktAuthenticationPolicy`` and an ``ACLAuthorizationPolicy`` to +enable declarative security checking. We'll also change +``configure.zcml`` to add a ``forbidden`` stanza which points at our +``login`` :term:`view callable`, also known as a :term:`forbidden +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 ``view_permission`` attributes with the value ``edit`` to the ``edit_page`` and ``add_page`` route -- cgit v1.2.3