Reputation: 3337
How do I enable a hybris user group to synchronize individual products on the hMC?
More specifically, I want to enable this button "Start Synchronization for this product" on the hMC for users of this user group:
Preferably, if you could show me how to grant these access rights via impex files.
Upvotes: 1
Views: 2980
Reputation: 716
Try granting these to the user group to enable that button:
Type;UID;MemberOfGroups;Password;Target;read;change;create;remove;change_perm
UserGroup;Mygroup;employeegroup;;;;;;;
;;;;SyncItemCronJob;+;+;+;+
;;;;SynchronizeCatalogVersionWizard;+;+;+;+
If you don't want to allow entire catalog synchronization to the group, you can disable the hMC node by adding a hmcXML to the user group, like this:
INSERT_UPDATE UserGroup;UID[unique=true];hmcXML
;Mygroup;"<?xml version=""1.0"" encoding=""ISO-8859-1""?>
<configuration
xmlns=""hybris.de/schemas/hmc/generic"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
xsi:schemaLocation=""hybris.de/schemas/hmc/generic hmc.xsd"">
<explorertree>
<group name=""catalog"">
<group name=""catalogviews"" mode=""delete"" />
</group>
</explorertree>
</configuration>"
Upvotes: 3
Reputation: 7809
I doubt you can assign permission on an item/instance level.
One way to do it is to disable the catalog sync menu and replace it with a cronjob to do the sync
Upvotes: 1