[Erp5-report] r10455 - /erp5/trunk/products/ERP5Type/ERP5Type.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Oct 1 23:16:11 CEST 2006


Author: jerome
Date: Sun Oct  1 23:16:09 2006
New Revision: 10455

URL: http://svn.erp5.org?rev=10455&view=rev
Log:

internal code should call updateLocalRolesOnSecurityGroups instead of the old assignRoleToSecurityGroup


Modified:
    erp5/trunk/products/ERP5Type/ERP5Type.py

Modified: erp5/trunk/products/ERP5Type/ERP5Type.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/ERP5Type.py?rev=10455&r1=10454&r2=10455&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/ERP5Type.py (original)
+++ erp5/trunk/products/ERP5Type/ERP5Type.py Sun Oct  1 23:16:09 2006
@@ -210,7 +210,7 @@
         # The downside of this optimisation is that it is not possible to
         # set a local role definition if the local role list is empty
         if len(self._roles):
-            self.assignRoleToSecurityGroup(ob)
+            self.updateLocalRolesOnSecurityGroups(ob)
 
         if self.init_script :
             # Acquire the init script in the context of this object




More information about the Erp5-report mailing list