Bug 1002522

Summary: Roles for web UI should follow some naming convention
Product: [Retired] JBoss BRMS Platform 6 Reporter: Petr Široký <psiroky>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Petr Široký <psiroky>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 6.0.0CC: crobson, dgutierr, etirelli, paradhya, rrajasek, vigoyal
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1016920 (view as bug list) Environment:
Last Closed: 2014-08-06 20:18:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1005981    
Bug Blocks: 1007729, 1016920    

Description Petr Široký 2013-08-29 11:38:22 UTC
Description of problem:
Currently there are two roles that can be used when adding user that needs access to the Business Central. Role 'kie-user' for "normal" users and role 'ADMIN' that has the capability to create/clone repos, etc. Its bit weird that one of the roles is in lower case and second in upper case. 

We should follow some naming convention, e.g if we have 'kie-user', what about using 'kie-admin' instead of 'ADMIN'? Or maybe some different names, but I think we should be consistent in naming things.

Note: Similarly the dashbuilder (BAM) needs role 'user', what about changing that also to 'kie-user'? Or could that cause issues?

Version-Release number of selected component (if applicable):
6.0.0-ER2

Comment 1 David Gutierrez 2013-09-13 14:13:04 UTC
From the BPMS perspective the jBPM Dashboard (BAM) module defines two roles: kie-user and admin. Currently, there are two additional issues opened with regards on this.

https://bugzilla.redhat.com/show_bug.cgi?id=1007729 
https://bugzilla.redhat.com/show_bug.cgi?id=1005981

We all should align and agree on a unified role convention.

Comment 2 Catherine Robson 2013-09-16 12:20:04 UTC
Refer to https://bugzilla.redhat.com/show_bug.cgi?id=1005981.

This notes that there should be 5 roles.  Suggested naming convention from UX:

admin, analyst, developer, user, viewer

Comment 3 Prakash Aradhya 2013-09-17 02:03:32 UTC
Guys, lets not expose users to cryptic kie-*** namings.  Please follow the list of 5 users that are identified.  Catherine has a link above.
Please use the same role names both in the UI as well as documentation etc..

Comment 5 David Gutierrez 2013-09-23 09:31:25 UTC
The solution is:

* To rename the current roles to 'analyst' and 'admin' (no caps and no 'kie' prefix). That will align the current roles definition with what is being proposed by PM and can be achieved in the short term.

* Continue working on adding the additional roles requested (viewer, developer, user) in order to close this BZ. The changes are not trivial since they require some non-trivial modifications like enhancing the UF's authorization subsystem. So the deadline for that can't be established at this moment.

Comment 7 manstis 2013-09-24 08:29:00 UTC
Set this BZ to MODIFIED as the remaining questions about Roles is captured under https://bugzilla.redhat.com/show_bug.cgi?id=1005981. At the moment roles "admin" and "analyst" have been unified.

Comment 11 Petr Široký 2013-10-17 15:37:51 UTC
Closing this BZ as the role names are aligned. The other roles are tracked by https://bugzilla.redhat.com/show_bug.cgi?id=1005981.

Comment 12 Red Hat Bugzilla 2023-09-14 01:49:54 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days