summaryrefslogtreecommitdiff
path: root/docs/glossary.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-10-17 00:55:35 -0500
committerMichael Merickel <michael@merickel.org>2019-10-17 00:55:35 -0500
commitcee110df1b5cd94938379a27000e32b471c3cb38 (patch)
tree2c4654974903ec52982a85be4c4a051aa96b98fe /docs/glossary.rst
parent8ee8d8c589270b436ebfb8686f4e70d8aaa9e6f4 (diff)
downloadpyramid-cee110df1b5cd94938379a27000e32b471c3cb38.tar.gz
pyramid-cee110df1b5cd94938379a27000e32b471c3cb38.tar.bz2
pyramid-cee110df1b5cd94938379a27000e32b471c3cb38.zip
add ISecurityPolicy to the public interface api
Diffstat (limited to 'docs/glossary.rst')
-rw-r--r--docs/glossary.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst
index 2d2595592..ac60ebd24 100644
--- a/docs/glossary.rst
+++ b/docs/glossary.rst
@@ -308,10 +308,11 @@ Glossary
``__str__`` method that outputs a corresponding :term:`userid`.
security policy
- A security policy in :app:`Pyramid` terms is a bit of code which has an
- API which identifies the user associated with the current request (perhaps
- via a cookie or ``Authorization`` header) and determines whether or not
- that user is permitted to access the requested resource.
+ A security policy in :app:`Pyramid` terms is an object implementing the
+ :class:`pyramid.interfaces.ISecurityPolicy` API which identifies the user
+ associated with the current request
+ (perhaps via a cookie or ``Authorization`` header) and determines whether
+ or not that user is permitted to access the requested resource.
authorization policy
An authorization policy in :app:`Pyramid` terms is a bit of