summaryrefslogtreecommitdiff
path: root/docs/narr/security.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-18 12:27:56 -0500
committerChris McDonough <chrism@plope.com>2011-01-18 12:27:56 -0500
commit8b4146009da0b612e8e001e68cd5f6f63d361c53 (patch)
tree5de4e743b2c007c0d5202db7be883d21cfe2bc88 /docs/narr/security.rst
parent566004501e8a28c0ba8f8c882ca5ea0742e5d285 (diff)
parentc9c3c487bcaedeca97bb6463a00188b0dc01203a (diff)
downloadpyramid-8b4146009da0b612e8e001e68cd5f6f63d361c53.tar.gz
pyramid-8b4146009da0b612e8e001e68cd5f6f63d361c53.tar.bz2
pyramid-8b4146009da0b612e8e001e68cd5f6f63d361c53.zip
Merge branch 'zcmlless'
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 62a4727bc..ebaeb1526 100644
--- a/docs/narr/security.rst
+++ b/docs/narr/security.rst
@@ -106,9 +106,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
@@ -154,9 +151,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
@@ -189,8 +183,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