我有一组用户,我必须为其分配使用批量编辑的权限,目前当我选择一个产品时,listviewaction 中的 buld 编辑被禁用,我想让特定用户组可以点击它。我该怎么做?非常感谢。必须具有批量编辑权限的用户组:“SiteManagerGroup”
<context component="listviewactions" parent="auto" principal="SiteManagerRole">
<y:actions xmlns:y="http://www.hybris.com/cockpit/config/hybris">
<y:group qualifier="common" show-group-header="false">
<y:action action-id="com.hybris.cockpitng.action.create" property="pageable.typeCode" />
<y:action action-id="my.ext.path.backoffice.actions.familydeleteaction" property="selectedObjects" />
<y:action action-id="com.hybris.backoffice.widgets.actions.sync" property="selectedObjects" />
</y:group>
<y:group qualifier="bulk" show-group-header="false">
<y:action action-id="com.hybris.cockpitng.action.message" property="selectedObjects" triggerOnKeys="^c">
<y:parameter>
<y:name>actionName</y:name>
<y:value>label.compareview.action.compareitems</y:value>
</y:parameter>
<y:parameter>
<y:name>message</y:name>
<y:value>#root</y:value>
</y:parameter>
<y:parameter>
<y:name>socket</y:name>
<y:value>selectedItemsToCompare</y:value>
</y:parameter>
<y:parameter>
<y:name>enabled</y:name>
<y:value>#root?.size() > 1</y:value>
</y:parameter>
<y:parameter>
<y:name>iconUri</y:name>
<y:value>/widgetClasspathResource/widgets/compare/images/Compare_default.png</y:value>
</y:parameter>
<y:parameter>
<y:name>iconHoverUri</y:name>
<y:value>/widgetClasspathResource/widgets/compare/images/Compare_hover.png</y:value>
</y:parameter>
<y:parameter>
<y:name>iconDisabledUri</y:name>
<y:value>/widgetClasspathResource/widgets/compare/images/Compare_inactive.png</y:value>
</y:parameter>
</y:action>
<y:action action-id="com.hybris.backoffice.widgets.actions.bulkedit" property="selectedObjects" />
<y:action action-id="com.hybris.backoffice.widgets.actions.enumeration" property="selectedObjects">
<y:parameter>
<y:name>qualifier</y:name>
<y:value>approvalStatus</y:value>
</y:parameter>
<y:parameter>
<y:name>actionName</y:name>
<y:value>bulk.approval</y:value>
</y:parameter>
</y:action>
</y:group>
<y:extended-group qualifier="export" show-group-header="false">
<y:action action-id="com.hybris.backoffice.widgets.actions.excel.export" property="pageable.typeCode"/>
<y:action action-id="com.hybris.backoffice.widgets.actions.excel.exporttemplate" property="pageable.typeCode"/>
<y:action action-id="com.hybris.cockpitng.listview.action.export.csv" property="exportColumnsAndData">
<y:parameter>
<y:name>actionName</y:name>
<y:value>label.export.csv</y:value>
</y:parameter>
</y:action>
<y:extended-action action-id="com.hybris.backoffice.widgets.actions.excel.export"/>
</y:extended-group>
<y:group qualifier="import" show-group-header="false" show-separator="false">
<y:action action-id="com.hybris.backoffice.widgets.actions.excel.import" property="pageable.typeCode"/>
</y:group>
</y:actions>
</context>
<context component="customlistviewactions" parent="auto">
<y:actions xmlns:y="http://www.hybris.com/cockpit/config/hybris">
<y:group qualifier="common">
<y:action action-id="com.hybris.backoffice.widgets.actions.bulkedit" property="selectedObjects" />
</y:group>
</y:actions>
</context>