summaryrefslogtreecommitdiff
path: root/docs/narr/security.rst
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2011-01-18 23:05:54 -0700
committerCasey Duncan <casey.duncan@gmail.com>2011-01-18 23:05:54 -0700
commitb0240d3d5a39a504d5a5155a23a6d6a431b457ef (patch)
treeb0c3b4f5dd8a0ec1c01912bfeff769d1329a9c97 /docs/narr/security.rst
parent278b302270823336d770761aaac22d854e348ea6 (diff)
parent48bccbe4ff7351d823a471005effea1afc06bb4f (diff)
downloadpyramid-b0240d3d5a39a504d5a5155a23a6d6a431b457ef.tar.gz
pyramid-b0240d3d5a39a504d5a5155a23a6d6a431b457ef.tar.bz2
pyramid-b0240d3d5a39a504d5a5155a23a6d6a431b457ef.zip
Merge https://github.com/Pylons/pyramid
Diffstat (limited to 'docs/narr/security.rst')
-rw-r--r--docs/narr/security.rst8
1 files changed, 0 insertions, 8 deletions
diff --git a/docs/narr/security.rst b/docs/narr/security.rst
index babf66ecd..e395b15f1 100644
--- a/docs/narr/security.rst
+++ b/docs/narr/security.rst
@@ -116,9 +116,6 @@ See also the :mod:`pyramid.authorization` and
:mod:`pyramid.authentication` modules for alternate implementations
of authorization and authentication policies.
-You can also enable a security policy declaratively via ZCML. See
-:ref:`zcml_authorization_policy`.
-
.. index::
single: permissions
single: protecting views
@@ -164,9 +161,6 @@ may be performed via the ``@view_config`` decorator:
""" Add blog entry code goes here """
pass
-Or the same thing can be done using the ``permission`` attribute of the ZCML
-:ref:`view_directive` directive.
-
As a result of any of these various view configuration statements, if an
authorization policy is in place when the view callable is found during
normal application operations, the requesting user will need to possess the
@@ -199,8 +193,6 @@ application:
:meth:`pyramid.config.Configurator.set_default_permission`
method.
-- The :ref:`default_permission_directive` ZCML directive.
-
When a default permission is registered:
- if a view configuration names an explicit ``permission``, the default