Changing access control for a Management Center tool
By default, certain business roles are authorized to use the Management Center. You can assign other roles to the Management Center tools.
About this task
Note: For information about the default roles assigned to
each Management Center tool,
see IBM Management Center for WebSphere Commerce.
Procedure
- Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
- Complete one of the following steps:
- In the Enterprise Explorer view, expand
- In the Enterprise Explorer view, expand
- Open one of the following files:
Option Description ApplicationMenuItems.lzx The wcfApplicationMenuItems class defines all the Management Center menu options. For the menu option (tool) you want to change, locate its wcfApplicationMenuItem element in class wcfApplicationMenuItems, and update the usage attribute with the role you want. For example, to change the Catalogs tool from role (IBM_CatalogTool) to another role called IBM_CatalogTool2: <wcfApplicationMenuItem id="catalogManagement" width="${parent.width}" ... usage="IBM_CatalogTool2" actionName="viewCommandOnSelect();" />
ApplicationMenuItems.def The wcfApplicationMenuItems definition defines all the Management Center menu options. For the menu option (tool) you want to change, locate its wcfApplicationMenuItem element and update the usage attribute with the role you want. For example, to change the Catalogs tool from role (IBM_CatalogTool) to another role called IBM_CatalogTool2: <ApplicationMenuItem actionName="openBusinessObjectEditor" activeIconSrc="catalogActiveTabIcon" displayName="${shellResourceBundle.catalogManagementDisplayName}" id="catalogManagement" inactiveIconSrc="catalogInactiveTabIcon" toolDefinitionName="catCatalogManagement" usage="IBM_CatalogTool2"/>
- Associate your Management Center customization with the WebSphere Commerce Server side; that is, map the usage you defined above to the access control for business users on the WebSphere Commerce Server. To do this, you must extend the appropriate XML file within the WebSphere Commerce Server. For details, refer to Access control in the BOD command framework.
What to do next
Version | Steps |
---|---|
|
|
|