summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-08-09 23:26:12 -0500
committerMichael Merickel <michael@merickel.org>2011-08-09 23:26:12 -0500
commitfecefff5f0c3a6aaafdd43d902aaed15edb8559e (patch)
treec4fda18a29ae158b967dc5639e71c321df5bc2e8 /docs/api
parent7d75b9711290da353077d87323ba0ccc1c1918ab (diff)
downloadpyramid-fecefff5f0c3a6aaafdd43d902aaed15edb8559e.tar.gz
pyramid-fecefff5f0c3a6aaafdd43d902aaed15edb8559e.tar.bz2
pyramid-fecefff5f0c3a6aaafdd43d902aaed15edb8559e.zip
Added the `pyramid.security.NO_PERMISSION_REQUIRED` constant.
Removed the undocumented version from pyramid.interfaces.
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/config.rst2
-rw-r--r--docs/api/security.rst2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/api/config.rst b/docs/api/config.rst
index 1a9bb6ba4..30c541905 100644
--- a/docs/api/config.rst
+++ b/docs/api/config.rst
@@ -44,7 +44,7 @@
.. automethod:: add_route
- .. automethod:: add_static_view(name, path, cache_max_age=3600, permission='__no_permission_required__')
+ .. automethod:: add_static_view(name, path, cache_max_age=3600, permission=NO_PERMISSION_REQUIRED)
.. automethod:: add_settings
diff --git a/docs/api/security.rst b/docs/api/security.rst
index de249355d..8cd9e5dae 100644
--- a/docs/api/security.rst
+++ b/docs/api/security.rst
@@ -57,6 +57,8 @@ Constants
last ACE in an ACL in systems that use an "inheriting" security
policy, representing the concept "don't inherit any other ACEs".
+.. attribute:: NO_PERMISSION_REQUIRED
+
Return Values
-------------