Binding a Task Functional Privilege to a User Interface Control
About this task
When you create a task, you may want to provide a task privilege to some run-time users and withhold it from others. For example, you may want to allow some users to modify a purchase order by adding attachments, and other users to view those attachments but not be able to add to them. The basic procedure is as follows:
Procedure
- Create a new privilege within the task (see Adding a Task Functional Privilege).
- Create a specific security role for this privilege (see Adding a Security Role for Binding a Task Privilege to a User Interface Control). When you create the security role, you link the privilege to the security role.
- Bind the security role to a user interface control (see Binding a Security Role to a User Interface Control.
- You now have the capability of assigning the bound functional privilege to a My webMethods user role during run time. For more information about working with user roles in My webMethods, see the PDF publication IBM webMethods Task Engine User’s Guide.