summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorDaniel Haaker <d.haaker@gmail.com>2011-09-12 21:58:19 +0200
committerDaniel Haaker <d.haaker@gmail.com>2011-09-12 21:58:19 +0200
commit1dd5ab89c13d0480e863aa7853d35c7f5492f5e1 (patch)
treef99cbdbcc7a800833fb6e79e1e0f8f2d4e63daf8 /docs/api
parent649ddf33537cd2a3ea2b1efc140cc74a16a81b10 (diff)
downloadpyramid-1dd5ab89c13d0480e863aa7853d35c7f5492f5e1.tar.gz
pyramid-1dd5ab89c13d0480e863aa7853d35c7f5492f5e1.tar.bz2
pyramid-1dd5ab89c13d0480e863aa7853d35c7f5492f5e1.zip
explain NO_PERMISSION_REQUIRED constant in API docs
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/security.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api/security.rst b/docs/api/security.rst
index 8cd9e5dae..7086690e9 100644
--- a/docs/api/security.rst
+++ b/docs/api/security.rst
@@ -59,6 +59,12 @@ Constants
.. attribute:: NO_PERMISSION_REQUIRED
+ A special permission which indicates that the view should always
+ be executable by entirely anonymous users, regardless of the
+ default permission, bypassing any :term:`authorization policy`
+ that may be in effect. Its actual value is the string
+ '__no_permission_required__'.
+
Return Values
-------------