[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/authentication/groupfolder.py Implement missing method.

Benji York benji at zope.com
Tue May 31 10:29:13 EDT 2005


Log message for revision 30568:
  Implement missing method.
  

Changed:
  U   Zope3/trunk/src/zope/app/authentication/groupfolder.py

-=-
Modified: Zope3/trunk/src/zope/app/authentication/groupfolder.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/groupfolder.py	2005-05-31 14:28:47 UTC (rev 30567)
+++ Zope3/trunk/src/zope/app/authentication/groupfolder.py	2005-05-31 14:29:13 UTC (rev 30568)
@@ -170,6 +170,10 @@
         """Get groups the given principal belongs to"""
         return self.__inverseMapping.get(principalid, ())
 
+    def getPrincipalsForGroup(self, groupid):
+        """Get principals which belong to the group"""
+        return self[groupid].principals
+
     def search(self, query, start=None, batch_size=None):
         """ Search for groups"""
         search = query.get('search')



More information about the Zope3-Checkins mailing list