我创建了我的自定义组和拥有此组的员工。我做的一切都是正确的,我希望我的定制员工使用与他使用客户支持代理相同的视角。因此,当使用我的自定义员工登录以查看客户支持角度,而不是管理角度时。我该怎么做?
您需要将
CustomerSupportAgent
分配给您的员工或使您的小组成为相同的子组才能查看 CS 视角。
Backoffice透视配置可在backoffice-config XML中找到。如果您需要向自定义员工提供 CS 视角,请查看客户支持后台-后台-配置的示例.xml
<context component="perspective-chooser" principal="orgemployeerole" merge-by="module" parent="commerceservicesbackoffice">
<y:perspective-chooser xmlns:y="http://www.hybris.com/cockpitng/config/perspectiveChooser">
<y:defaultPerspective name="organizationBackofficePerspective"/>
<y:authority name="orgemployeerole">
<y:perspective id="organizationBackofficePerspective"/>
<y:perspective id="CustomerSupport-Perspective"/>
</y:authority>
</y:perspective-chooser>
</context>
<context component="perspective-view-switcher" principal="customersupportadministratorrole">
<vs:view-switcher xmlns:vs="http://www.hybris.com/cockpitng/config/viewSwitcher">
<vs:authority name="customersupportadministratorrole">
<vs:view id="CustomerSupport-Perspective"/>
<vs:view id="hmc2"/>
</vs:authority>
</vs:view-switcher>
</context>
或者,如果可行,只需将customersupportagentgroup
分配给自定义组。
UPDATE UserGroup; UID[unique = true]; groups(uid)[append = true]
; admingroup ; customersupportagentgroup