diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-05 11:05:23 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-05 11:05:23 -0700 |
| commit | 78a135c71b7beebd020050a4b014fef36ebff843 (patch) | |
| tree | fa6ad74f0d9b053d337e02934d414b8d9259cc99 /docs/narr/views.rst | |
| parent | 6871c162335ba54c0b55e88b4cb139c7cfaf1157 (diff) | |
| download | pyramid-78a135c71b7beebd020050a4b014fef36ebff843.tar.gz pyramid-78a135c71b7beebd020050a4b014fef36ebff843.tar.bz2 pyramid-78a135c71b7beebd020050a4b014fef36ebff843.zip | |
XXX change authentication policy to authorization policy. Confirm this is correct XXX
Diffstat (limited to 'docs/narr/views.rst')
| -rw-r--r-- | docs/narr/views.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index f233ee39d..af4cccc78 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -1803,11 +1803,11 @@ permission in a view configuration using config.add_view('myproject.views.add_entry', name='add.html', context='myproject.models.IBlog', permission='add') -When an authentication policy is enabled, this view will be protected with -the ``add`` permission. The view will *not be called* if the user does not -possess the ``add`` permission relative to the current :term:`context` and an -authorization policy is enabled. Instead the :term:`forbidden view` result -will be returned to the client as per :ref:`protecting_views`. +When an :term:`authorization policy` is enabled, this view will be +protected with the ``add`` permission. The view will *not be called* if +the user does not possess the ``add`` permission relative to the current +:term:`context`. Instead the :term:`forbidden view` result will be +returned to the client as per :ref:`protecting_views`. .. index:: single: view lookup |
