diff --git a/product/ERP5SyncML/Conduit/ERP5Conduit.py b/product/ERP5SyncML/Conduit/ERP5Conduit.py
index e06881bf7d1036ebec8c963f6975ae1948af3ee1..1b7bf785111d5ada58cfce026ffd1932522cd1f4 100755
--- a/product/ERP5SyncML/Conduit/ERP5Conduit.py
+++ b/product/ERP5SyncML/Conduit/ERP5Conduit.py
@@ -361,7 +361,7 @@ class ERP5Conduit(XMLSyncUtilsMixin):
           LOG('updateNode',0,'we will add history')
           conflict_list += self.addNode(xml=subnode,object=object,force=force,
                                         simulate=simulate,**kw)
-        elif keyword in (self.local_role_tag,self.permission_role_tag) and not simulate:
+        elif keyword in (self.local_role_tag,self.local_permission_tag) and not simulate:
           # This is the case where we have to update Roles or update permission
           LOG('updateNode',0,'we will add a local role')
           #user = self.getSubObjectId(xml)