Next >

Tutorial: Defining write usage in Management Center

In this tutorial, you define a usage policy to determine whether a user has write access to instances of a business object. You create a Search Term Manager role that has write access to the search term association objects in the Catalogs tool. We can refer to Tutorial: Creating a user with the Recipe Manager role as a reference.

Management Center uses the usage policy to determine whether to display the menu item. The usage policy conveys how information is used by the client. An access control check is performed based on the usage information provided. You might want to limit the access of some business user roles. For example, we want a workspace Task Group Approver to have read-only access to some objects that are loaded by the Management Center framework. Use the tool level usage parameter to determine access to the tool for a user. Use the object level writeUsage parameter to determine write access to instances of the business object for a user.


Learning objectives

After completing this tutorial, you should be able to perform the following tasks:


Time required

This tutorial takes approximately 60 minutes to finish. If you explore other concepts related to this tutorial, the tutorial takes longer to complete.


Skill level

Advanced


Audience

This tutorial is intended for advanced WebSphere Commerce developers responsible for customizing the Management Center user interface.


Tutorial resources

Download the following file into a temporary directory in the development environment. This file includes the source code used in this tutorial for use as a reference.


Results

After you complete this tutorial, we can open the Catalogs tool, edit search term association objects, but cannot edit other business objects that are in read-only mode.

Lessons in this tutorial

Next >