summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-05 11:02:41 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-12-05 11:02:41 -0700
commit6871c162335ba54c0b55e88b4cb139c7cfaf1157 (patch)
tree6e9668501fedf1bd548659dcaeb3bc960c420258 /docs
parent45beb431ee555427e0fe2c86a6444323b4c67575 (diff)
downloadpyramid-6871c162335ba54c0b55e88b4cb139c7cfaf1157.tar.gz
pyramid-6871c162335ba54c0b55e88b4cb139c7cfaf1157.tar.bz2
pyramid-6871c162335ba54c0b55e88b4cb139c7cfaf1157.zip
break run-on
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/views.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst
index 548ea5006..f233ee39d 100644
--- a/docs/narr/views.rst
+++ b/docs/narr/views.rst
@@ -1787,11 +1787,12 @@ view configuration, see :ref:`models_which_implement_interfaces`.
Configuring View Security
~~~~~~~~~~~~~~~~~~~~~~~~~
-If an :term:`authorization policy` is active, any :term:`permission` attached
-to a :term:`view configuration` found during view lookup will be consulted to
-ensure that the currently authenticated user possesses that permission
-against the :term:`context` before the view function is actually called.
-Here's an example of specifying a permission in a view configuration using
+If an :term:`authorization policy` is active, any :term:`permission`
+attached to a :term:`view configuration` found during view lookup will
+be verified. This will ensure that the currently authenticated user
+possesses that permission against the :term:`context` before the view
+function is actually called. Here's an example of specifying a
+permission in a view configuration using
:meth:`pyramid.configuration.Configurator.add_view`:
.. code-block:: python