11.9.2. Configure User Role Assignment
jboss-cli.sh
tool. This topic only shows using the Management Console.
- Login to the Management Console.
- Click on the Administration tab.
- Expand the Access Control item on the left and select Role Assignment.
- Select the USERS tab.

Figure 11.1. User Role Management in the Management Console
Procedure 11.4. Create a new role assignment for a user
- Login to the Management console.
- Navigate to the Users tab of the Role Assignment section.
- Click the Add button at the top right of the user list. Add User dialog appears.
Figure 11.2. Add User Dialog
- Specify user name, and optionally realm.
- Set the type menu to include or exclude.
- Click the checkbox of the roles to include or exclude. You can use the Control key (Command key on OSX) to check multiple items.
- Click save.When successful, the Add User dialog closes, and the list of users is updated to reflect the changes made. If unsuccessful a "Failed to save role assignment" message is displayed.
Procedure 11.5. Update the role assignment for a user
- Login to the Management console.
- Navigate to the Users tab of the Role Assignment section.
- Select user from the list.
- Click Edit. The selection panel enters edit mode.
Figure 11.3. Selection Edit View
Here you can add and remove assigned and excluded roles for the user.- To add an assigned role, select the required role from the list of available roles on the left and click button with the right-facing arrow next to the assigned roles list. The role moves from the available list to the assigned list.
- To remove an assigned role, selected the required role from the assigned roles list on the right and click the button with the left-facing arrow next to the assigned roles list. The role moves from the assigned list to the available list.
- To add an excluded role, select the required role from the list of available roles on the left and click button with the right-facing arrow next to the excluded roles list. The role moves from the available list to the excluded list.
- To remove an excluded role, selected the required role from the excluded roles list on the right and click the button with the left-facing arrow next to the excluded roles list. The role moves from the excluded list to the available list.
- Click save.When successful, the edit view closes, and the list of users is updated to reflect the changes made. If unsuccessful a "Failed to save role assignment" message is displayed.
Procedure 11.6. Remove role assignment for a user
- Login to the Management console.
- Navigate to the Users tab of the Role Assignment section.
- Select the user from list.
- Click the Remove button. The Remove Role Assignment confirmation prompt appears.
- Click the Confirm button.When successful, the user will no longer appear in the list of user role assignments.
Important