[Checkins] SVN: z3c.securitytool/trunk/src/z3c/securitytool/demoSetup.py Fixed demoSetup.py, the group id is now added to the principal's groups list instead of the group object

Daniel Blackburn blackburnd at gmail.com
Wed May 28 09:07:06 EDT 2008


Log message for revision 86993:
  Fixed demoSetup.py, the group id is now added to the principal's groups list instead of the group object

Changed:
  U   z3c.securitytool/trunk/src/z3c/securitytool/demoSetup.py

-=-
Modified: z3c.securitytool/trunk/src/z3c/securitytool/demoSetup.py
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/demoSetup.py	2008-05-28 00:58:05 UTC (rev 86992)
+++ z3c.securitytool/trunk/src/z3c/securitytool/demoSetup.py	2008-05-28 13:06:59 UTC (rev 86993)
@@ -47,8 +47,8 @@
         daniel  = sysPrincipals.getPrincipal('zope.daniel')
         randy  = sysPrincipals.getPrincipal('zope.randy')
 
-        daniel.groups.append(group1)
-        randy.groups.append(group1)
+        daniel.groups.append('zope.group1')
+        randy.groups.append('zope.group1')
 
         roleManager.assignRoleToPrincipal('zope.Writer', 'zope.daniel')
         roleManager.assignRoleToPrincipal('zope.Writer', 'zope.stephan')



More information about the Checkins mailing list