[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/security - __init__.py:1.3

R. David Murray bitz@bitdance.com
Fri, 27 Dec 2002 15:17:04 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/security
In directory cvs.zope.org:/tmp/cvs-serv22503/zope/app/interfaces/security

Modified Files:
	__init__.py 
Log Message:
Jim wants getRoles to be on IPrincipal.


=== Zope3/src/zope/app/interfaces/security/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interfaces/security/__init__.py:1.2	Wed Dec 25 09:13:01 2002
+++ Zope3/src/zope/app/interfaces/security/__init__.py	Fri Dec 27 15:16:33 2002
@@ -30,6 +30,10 @@
     def getDescription():
         """Return a description of the principal."""
 
+    def getRoles():
+        """Return a possibly empty list of Roles held by this Principal"""
+
+
 class IUnauthenticatedPrincipal(IPrincipal):
     """A principal that hasn't been authenticated.