Designer 10.15 | webMethods BPM Task Development Help | Working with Security Roles | Adding a Security Role to a Task | Adding a Security Role for Binding a Task Privilege to a User Interface Control
 
Adding a Security Role for Binding a Task Privilege to a User Interface Control
*To add a security role for binding a task privilege to a user interface control
1. Navigate to the portlet editor and click the Security Roles listing for the task portlet you want to work with, as described in Viewing Task Security Roles.
2. Click Add.
3. In the Create Security Role Reference dialog box, specify the following:
Value
Description
Portlet
This value is provided automatically as the name of the selected task portlet.
Role Name
Your public name for the security role. This name must exactly match a corresponding user role in My webMethods, if the user role already exists. If you have not yet created this user role in My webMethods, be sure to use this exact name when you create it.
Role Link
Click the Privileges button to view a list of all of the functional privileges contained in the task. Click a privilege and click OK to link it to the security role.
Description
Your description of the security role. These value are used during run-time; you can specify different locales, and a text description for each locale. Click Add to add a new entry to the table.
4. Click Finish to add the security role to the portlet.
Although the procedure above creates a new security role within the task portlet, it has no functionality associated with it. You must modify the task view to provide a binding between the role, its linked privilege, and a user interface control on the portlet view design canvas. For more information, see Binding a Security Role to a User Interface Control.
Tip:
You can also add a security role from the Bindings view. First, open any portlet view in the view editor. In the Bindings view, right click the Managed Beans > [TaskName]View entry and click Add > Security Role. The security role you create is added to the portlet that contains the view in the view editor.
Related Topics