summaryrefslogtreecommitdiff
path: root/docs/glossary.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/glossary.rst')
-rw-r--r--docs/glossary.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst
index 8a1d27734..5d374e0ec 100644
--- a/docs/glossary.rst
+++ b/docs/glossary.rst
@@ -307,8 +307,9 @@ Glossary
define their principals differently.
identity
- An identity is an opaque identifier of the user associated with the
- current request.
+ An identity is an object identify the user associated with the
+ current request. The identity can be any object, but should implement a
+ ``__str__`` method for logging and debugging purposes.
security policy
A security policy in :app:`Pyramid` terms is a bit of code which has an