diff options
| author | Michael Merickel <michael@merickel.org> | 2011-08-09 23:26:12 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2011-08-09 23:26:12 -0500 |
| commit | fecefff5f0c3a6aaafdd43d902aaed15edb8559e (patch) | |
| tree | c4fda18a29ae158b967dc5639e71c321df5bc2e8 /docs/narr/security.rst | |
| parent | 7d75b9711290da353077d87323ba0ccc1c1918ab (diff) | |
| download | pyramid-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/narr/security.rst')
| -rw-r--r-- | docs/narr/security.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/narr/security.rst b/docs/narr/security.rst index ce304ed9f..a61578e21 100644 --- a/docs/narr/security.rst +++ b/docs/narr/security.rst @@ -200,9 +200,9 @@ When a default permission is registered: permission is ignored for that view registration, and the view-configuration-named permission is used. -- If a view configuration names an explicit permission as the string - ``__no_permission_required__``, the default permission is ignored, - and the view is registered *without* a permission (making it +- If a view configuration names the permission + :data:`pyramid.security.NO_PERMISSION_REQUIRED`, the default permission + is ignored, and the view is registered *without* a permission (making it available to all callers regardless of their credentials). .. warning:: @@ -210,7 +210,8 @@ When a default permission is registered: When you register a default permission, *all* views (even :term:`exception view` views) are protected by a permission. For all views which are truly meant to be anonymously accessible, you will need to associate the view's - configuration with the ``__no_permission_required__`` permission. + configuration with the :data:`pyramid.security.NO_PERMISSION_REQUIRED` + permission. .. index:: single: ACL |
