Show Table of Contents
Chapter 3. User Authorization
3.1. Enabling Role-Based Authorization
JBoss BRMS uses role-based authorization to assign user permissions. Role-based authorization is disabled by default and all users have full administrative permissions.
Procedure 3.1. Enable Role-Based Authorization
- Before enabling role-based authorization, it is necessary to assign one trusted user the admin role.
- From the JBoss Enterprise BRMS web user interface navigation panel, select → .
- Click Create new user mapping and enter the name of the user to be granted Admin permissions. Note, this user must already exist in the
brms-users.propertiesfile. - Click Open next to the username whose permissions are being changed.
- Click the plus icon to add permissions, and select admin, click OK, and click Save changes.After the system has saved the changes Yes will be displayed under Administrator.
- Shut down the application server before making these changes.
- Open the
jboss-as/server/production/deploy/jboss-brms.war/WEB-INF/components.xmlfile in a text editor. - In the default
components.xmlfile, locate the following code and replacefalsewith true:<component name="org.jboss.seam.security.roleBasedPermissionResolver"> <property name="enableRoleBasedAuthorization">false</property> </component>
Note
In versions 5.1 and earlier, locate and edit the following XML replacing false with true:<security:role-based-permission-resolver enable-role-based-authorization="false"/<
- Restart the application server.
- Log back into the BRMS web user interface. From the navigation panel, select → and assign users roles as required.
- Click Open next to the username whose permissions are being changed. Select the required role for the user, click OK, and click Save changes.
Note
Users can be assigned more than one role.Users assigned the admin role can modify the roles and permissions of other users.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.