diff --git a/product/ERP5SyncML/skins/redd/Site_exportUsers.py b/product/ERP5SyncML/skins/redd/Site_exportUsers.py new file mode 100755 index 0000000000000000000000000000000000000000..257673d2e6433dc5a911b0753258dc01e3d9ae9f --- /dev/null +++ b/product/ERP5SyncML/skins/redd/Site_exportUsers.py @@ -0,0 +1,5 @@ +root = context.portal_url.getPortalObject() +acl_users = root.acl_users +acl_users.manage_exportObject(id='acl_users') +return "ok" + diff --git a/product/ERP5SyncML/skins/redd/Site_importUsers.py b/product/ERP5SyncML/skins/redd/Site_importUsers.py new file mode 100755 index 0000000000000000000000000000000000000000..3099526e45e29d7c0565fe3adc5c24a00afa7233 --- /dev/null +++ b/product/ERP5SyncML/skins/redd/Site_importUsers.py @@ -0,0 +1,4 @@ +root = context.portal_url.getPortalObject() +root.manage_delObjects('acl_users') +root.manage_importObject('acl_users.zexp',set_owner=0) +return "ok"