diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-09 21:32:30 -0700 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-09 21:32:30 -0700 |
| commit | 65de433df573eccdc9911f0675dcc342dfe1c8ca (patch) | |
| tree | c4fda18a29ae158b967dc5639e71c321df5bc2e8 /docs/narr | |
| parent | 7d75b9711290da353077d87323ba0ccc1c1918ab (diff) | |
| parent | fecefff5f0c3a6aaafdd43d902aaed15edb8559e (diff) | |
| download | pyramid-65de433df573eccdc9911f0675dcc342dfe1c8ca.tar.gz pyramid-65de433df573eccdc9911f0675dcc342dfe1c8ca.tar.bz2 pyramid-65de433df573eccdc9911f0675dcc342dfe1c8ca.zip | |
Merge pull request #250 from mmerickel/feature.no-perm-const
Added the `pyramid.security.NO_PERMISSION_REQUIRED` constant.
Diffstat (limited to 'docs/narr')
| -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 |
