[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Security - IPermissionService.py:1.3
Jim Fulton
jim@zope.com
Sun, 1 Dec 2002 05:32:00 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv3420
Modified Files:
IPermissionService.py
Log Message:
Changed doc strings to match standard format.
=== Zope3/lib/python/Zope/App/Security/IPermissionService.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/Security/IPermissionService.py:1.2 Mon Jun 10 19:28:16 2002
+++ Zope3/lib/python/Zope/App/Security/IPermissionService.py Sun Dec 1 05:31:59 2002
@@ -20,7 +20,8 @@
class IPermissionService(Interface):
- """
+ """Manage information about permissions
+
'IPermissionService' objects are used to implement
permission-definition services. Because they implement services,
they are expected to collaborate with services in other
@@ -36,10 +37,16 @@
"""
def getPermission(permission_id):
- """Return an 'IPermission' object for the
- given permission id. Return None if there is no permission defined"""
+ """Get permission information
+
+ Return an 'IPermission' object for the
+ given permission id. Return None if there is no permission defined
+ """
def getPermissions():
- """Return a sequence of the permissions
- (IPermission objects) defined in the place containing the
- service."""
+ """Get the defined permissions
+
+ Return a sequence of the permissions
+ (IPermission objects) defined in the place containing the
+ service.
+ """