Commit 29574092 authored by Jérome Perrin's avatar Jérome Perrin

internal code should call updateLocalRolesOnSecurityGroups instead of the old...

internal code should call updateLocalRolesOnSecurityGroups instead of the old assignRoleToSecurityGroup



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10455 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 97b42da9
...@@ -210,7 +210,7 @@ class ERP5TypeInformation( FactoryTypeInformation, ...@@ -210,7 +210,7 @@ class ERP5TypeInformation( FactoryTypeInformation,
# The downside of this optimisation is that it is not possible to # The downside of this optimisation is that it is not possible to
# set a local role definition if the local role list is empty # set a local role definition if the local role list is empty
if len(self._roles): if len(self._roles):
self.assignRoleToSecurityGroup(ob) self.updateLocalRolesOnSecurityGroups(ob)
if self.init_script : if self.init_script :
# Acquire the init script in the context of this object # Acquire the init script in the context of this object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment