summaryrefslogtreecommitdiff
path: root/docs/glossary.rst
diff options
context:
space:
mode:
authorÉric Araujo <earaujo@caravan.coop>2019-12-14 13:32:07 -0500
committerÉric Araujo <earaujo@caravan.coop>2019-12-14 13:32:07 -0500
commit0168300b0da3c79e05ec87aa777e04674a86cebb (patch)
tree4e1f38841af1e6f8fd20b4e536ddbe946c294911 /docs/glossary.rst
parent4a46827769bbe181070a74927aa4e988a4cc3112 (diff)
downloadpyramid-0168300b0da3c79e05ec87aa777e04674a86cebb.tar.gz
pyramid-0168300b0da3c79e05ec87aa777e04674a86cebb.tar.bz2
pyramid-0168300b0da3c79e05ec87aa777e04674a86cebb.zip
start reworking security policy
Diffstat (limited to 'docs/glossary.rst')
-rw-r--r--docs/glossary.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst
index ac60ebd24..5edc4eeab 100644
--- a/docs/glossary.rst
+++ b/docs/glossary.rst
@@ -304,8 +304,8 @@ Glossary
identity
An identity is an object identifying the user associated with the
- current request. The identity can be any object, but should implement a
- ``__str__`` method that outputs a corresponding :term:`userid`.
+ current request. The identity can be any object, but security policies
+ should ensure that it represents a valid user (not deleted or deactivated).
security policy
A security policy in :app:`Pyramid` terms is an object implementing the