Enabling Role Based Permissions accross mutliple packages in BRMS 5
Environment
- Red Hat JBoss BRMS (BRMS)
- 5.x
Issue
- This query is related to enabling role based permissions in the
BRMSi.e. Guvnor inBRMS 5.x. Imagine there are10users ofBRMwhere each of the users would havepackage.adminrights and they would be assigned18packages. Is there a way to assign the current10users the samepackage.adminrole for the current structure set-up inBRMS 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.
- 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 theAdministrationsection of BRM; - Then go to
User permission; - If you haven't done this step already, then click on
Create new user mappingto create a new user's role mapping; - Enter the name of the user in the pop-up window
Enter new user name(i.e.john); - In the new pop-up window
Edit user: johnclick on the green plus icon to choose the permission typepackage.admin; - After that you would be prompted to choose the package to whom this user would have that specific permission, so choose that;
- Once done that, you can see a quick recap of the selections you made so far, then click on
Save changesto 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
