From 6363eeb18b026bcb33121bab5f5e8cfcba41a3f9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 9 Oct 2009 18:16:04 +0000 Subject: view -> static directive. --- docs/tutorials/bfgwiki/authorization.rst | 7 ------- 1 file changed, 7 deletions(-) (limited to 'docs/tutorials/bfgwiki/authorization.rst') diff --git a/docs/tutorials/bfgwiki/authorization.rst b/docs/tutorials/bfgwiki/authorization.rst index a736b7faa..444a0e5db 100644 --- a/docs/tutorials/bfgwiki/authorization.rst +++ b/docs/tutorials/bfgwiki/authorization.rst @@ -168,13 +168,6 @@ To protect each of our views with a particular permission, we need to pass a ``permission`` argument to each of our ``bfg_view`` decorators. To do so, within ``views.py``: -- We add ``permission='view'`` to the ``bfg_view`` decorator attached - to the ``static_view`` view function. This makes the assertion that - only users who possess the effective ``view`` permission at the time - of the request may invoke this view. We've granted ``Everyone`` the - view permission at the root model via its ACL, so everyone will be - able to invoke the ``static_view`` view. - - We add ``permission='view'`` to the ``bfg_view`` decorator attached to the ``view_wiki`` view function. This makes the assertion that only users who possess the effective ``view`` permission at the time -- cgit v1.2.3