From cee110df1b5cd94938379a27000e32b471c3cb38 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 17 Oct 2019 00:55:35 -0500 Subject: add ISecurityPolicy to the public interface api --- docs/glossary.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/glossary.rst') 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 -- cgit v1.2.3