summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2017-09-14 11:28:31 -0500
committerJason Madden <jamadden@gmail.com>2017-09-14 11:28:31 -0500
commite8818663a59c5c8b146f599ba87666bf1cd7af75 (patch)
tree8c8f8f535741dd7fca7eae81e4a9844f3b6408c3 /src
parent04475ed007d4d85249acd490e531c04cabffee30 (diff)
downloadzope-security-e8818663a59c5c8b146f599ba87666bf1cd7af75.tar.gz
Split narr.rst into parts and make the example more correct.
It's not doctested so it isn't fully guaranteed to be correct, but it was relying on conpects that don't exist anymore (simpleinteraction, and the ISecurityPolicy having the checkPermission() method).
Diffstat (limited to 'src')
-rw-r--r--src/zope/security/interfaces.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zope/security/interfaces.py b/src/zope/security/interfaces.py
index 86d7bff..6b50a9f 100644
--- a/src/zope/security/interfaces.py
+++ b/src/zope/security/interfaces.py
@@ -45,6 +45,9 @@ These can be categorized into a few different groups of related objects.
- :class:`IMemberAwareGroup`
- :class:`IPermission`
+Anywhere that an API is documented as accepting a permission, it
+means the name of the permission, or the special object
+:class:`zope.security.checker.CheckerPublic`.
"""
from zope.interface import Interface, Attribute, implementer