diff options
| author | Michael Merickel <michael@merickel.org> | 2020-01-17 16:09:27 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-17 16:09:27 -0600 |
| commit | a71df99b57e88788cf9ce3a78fc005f309033bbd (patch) | |
| tree | 56668260a48bef6b194a735de947ee59fd9429f6 /docs/narr/advanced-features.rst | |
| parent | 03d3bbd2791918a844da49eb4449b4953b83a31b (diff) | |
| parent | 592cadd9c20ce410d9ab7b9a748ec59dff001f65 (diff) | |
| download | pyramid-a71df99b57e88788cf9ce3a78fc005f309033bbd.tar.gz pyramid-a71df99b57e88788cf9ce3a78fc005f309033bbd.tar.bz2 pyramid-a71df99b57e88788cf9ce3a78fc005f309033bbd.zip | |
Merge pull request #3563 from mmerickel/move-acl-security-to-authorization
Move acl security to authorization
Diffstat (limited to 'docs/narr/advanced-features.rst')
| -rw-r--r-- | docs/narr/advanced-features.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/advanced-features.rst b/docs/narr/advanced-features.rst index 8d99f7291..6e819ff5b 100644 --- a/docs/narr/advanced-features.rst +++ b/docs/narr/advanced-features.rst @@ -34,7 +34,7 @@ For our example above, you can do this instead: .. code-block:: python :linenos: - @view_config(route_name="items", effective_principals=pyramid.security.Authenticated) + @view_config(route_name="items", effective_principals=pyramid.authorization.Authenticated) def auth_view(request): # do one thing |
