[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - IRole.py:1.1.2.2
Barry Warsaw
barry@wooz.org
Thu, 13 Dec 2001 12:54:30 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv8082/lib/python/Zope/App/Security
Modified Files:
Tag: Zope-3x-branch
IRole.py
Log Message:
IRole now just extends IRegisteredObject
=== Zope3/lib/python/Zope/App/Security/IRole.py 1.1.2.1 => 1.1.2.2 ===
# FOR A PARTICULAR PURPOSE.
-from Interface import Interface
+from Zope.App.Security.IRegisteredObject import IRegisteredObject
-class IRole(Interface):
- def getTitle():
- """Return the title of the role as a string."""
-
- def getDescription():
- """Return the description of the role as a string."""
+class IRole(IRegisteredObject):
+ """A role object."""