diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-05 11:02:41 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-05 11:02:41 -0700 |
| commit | 6871c162335ba54c0b55e88b4cb139c7cfaf1157 (patch) | |
| tree | 6e9668501fedf1bd548659dcaeb3bc960c420258 /docs | |
| parent | 45beb431ee555427e0fe2c86a6444323b4c67575 (diff) | |
| download | pyramid-6871c162335ba54c0b55e88b4cb139c7cfaf1157.tar.gz pyramid-6871c162335ba54c0b55e88b4cb139c7cfaf1157.tar.bz2 pyramid-6871c162335ba54c0b55e88b4cb139c7cfaf1157.zip | |
break run-on
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/views.rst | 11 |
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 |
