Enabling Role Based Permissions accross mutliple packages in BRMS 5

Solution Unverified - Updated -

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 5.x

Issue

  • This query is related to enabling role based permissions in the BRMS i.e. Guvnor in BRMS 5.x. Imagine there are 10 users of BRM where each of the users would have package.admin rights and they would be assigned 18 packages. Is there a way to assign the current 10 users the same package.admin role for the current structure set-up in BRMS 5 ?
  • If it is possible to assign permissions for one user to individual packages, would it be possible to assign multiple packages to one user at one go ?
  • Does the user have to assign each package separately to each user or is it possible to perform this activity for a bulk number of packages at one go?

Resolution

It is possible to assign specific users (individually) to package.admin role for the specific Guvnor packages through BRM (i.e. Guvnor console) as shown in the following steps.

  1. In order to do that, you have to first log-in to the BRM console using administrator user (e.g. admin ) who has the permissions to access the Administration section of BRM;
  2. Then go to User permission;
  3. If you haven't done this step already, then click on Create new user mapping to create a new user's role mapping;
  4. Enter the name of the user in the pop-up window Enter new user name (i.e. john);
  5. In the new pop-up window Edit user: john click on the green plus icon to choose the permission type package.admin;
  6. After that you would be prompted to choose the package to whom this user would have that specific permission, so choose that;
  7. Once done that, you can see a quick recap of the selections you made so far, then click on Save changes to reflect your currently made changes. You can go on to choose multiple packages this way.

Once it is done, the user can log in to BRM using his/her own credentials and he should have the appropriate permissions on the desired packages already set.
- Unfortunately there is no alternate easy way currently available for BRMS 5.x BRM screen to do it repeatedly for many users at one go.
i.e. with the available functionality in BRMS 5.x users have to assign the role for each package manually for the same user. So, basically they have to repeat the steps 5 to 7 (shown above) for the same user.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.