[CMF-checkins] CVS: Products/CMFCore - MembershipTool.py:1.48

Yvo Schubbe y.2004_ at wcm-solutions.de
Sun Aug 8 14:30:08 EDT 2004


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv29221/CMFCore

Modified Files:
	MembershipTool.py 
Log Message:
- hardended getPortalRoles


=== Products/CMFCore/MembershipTool.py 1.47 => 1.48 ===
--- Products/CMFCore/MembershipTool.py:1.47	Wed May  5 10:18:23 2004
+++ Products/CMFCore/MembershipTool.py	Sun Aug  8 14:29:37 2004
@@ -161,7 +161,7 @@
         by the portal object
         """
         parent = self.aq_inner.aq_parent
-        roles = list(parent.__ac_roles__)
+        roles = list( parent.userdefined_roles() )
 
         # This is *not* a local role in the portal but used by it
         roles.append('Manager')



More information about the CMF-checkins mailing list