diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-28 22:41:03 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-28 22:41:03 +0000 |
| commit | 44f1df7b7cec671fec92ead513804e52e63eb76d (patch) | |
| tree | 98d95fc68b2c826034178d8c19c119bf0070e110 /docs/tutorials/bfgwiki2/authorization.rst | |
| parent | f2086c23b03717ead05ca3a512091e302534c002 (diff) | |
| download | pyramid-44f1df7b7cec671fec92ead513804e52e63eb76d.tar.gz pyramid-44f1df7b7cec671fec92ead513804e52e63eb76d.tar.bz2 pyramid-44f1df7b7cec671fec92ead513804e52e63eb76d.zip | |
Fix overlong lines.
Diffstat (limited to 'docs/tutorials/bfgwiki2/authorization.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki2/authorization.rst | 11 |
1 files changed, 5 insertions, 6 deletions
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 |
