From e8818663a59c5c8b146f599ba87666bf1cd7af75 Mon Sep 17 00:00:00 2001 From: Jason Madden Date: Thu, 14 Sep 2017 11:28:31 -0500 Subject: 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). --- src/zope/security/interfaces.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit v1.2.1