diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-10-09 18:16:04 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-10-09 18:16:04 +0000 |
| commit | 6363eeb18b026bcb33121bab5f5e8cfcba41a3f9 (patch) | |
| tree | 75d4d29a49940e7c6bb8c1d9edcadfb5858a880a /docs/tutorials/bfgwiki/authorization.rst | |
| parent | b765ed944cc1232d19489a9ba704ccd3e380287b (diff) | |
| download | pyramid-6363eeb18b026bcb33121bab5f5e8cfcba41a3f9.tar.gz pyramid-6363eeb18b026bcb33121bab5f5e8cfcba41a3f9.tar.bz2 pyramid-6363eeb18b026bcb33121bab5f5e8cfcba41a3f9.zip | |
view -> static directive.
Diffstat (limited to 'docs/tutorials/bfgwiki/authorization.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki/authorization.rst | 7 |
1 files changed, 0 insertions, 7 deletions
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 @@ -169,13 +169,6 @@ 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 of the request may invoke this view. We've granted ``Everyone`` the |
