Bug 1784243

Summary: [RFE] Add Group Description String, in addition to Group description, which is used for group name.
Product: Red Hat CloudForms Management Engine Reporter: Rahul Chincholkar <rchincho>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED WONTFIX QA Contact: Devidas Gaikwad <dgaikwad>
Severity: urgent Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.14CC: bmidwood, dmetzger, gtanzill, hkataria, jocarter, jvlcek, kborole, lavenel, mpovolny, mschibli, mshriver, niroy, obarenbo
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-10 13:39:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Rahul Chincholkar 2019-12-17 04:23:55 UTC
Description of problem:

The description of a CF group is identical to the technical name of the group. This results in only being able to present technical Active Directory group names to the end user rather than presenting them with a human-readable description.  

Changing the description will lead to the technical name being changed, leading to the users no longer being able to logon to CF.

The description should however be a completely decoupled (and technically not relevant) field. 


When the group description is technically decoupled, it also needs to be displayable to the end user when picking the group scope. A possible solution is provided below or a “mouseOver()” (in case that the description is not null)

Also, it is essential that the description can be injected/updated via API call.

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

How reproducible:
Always

Comment 8 Joe Vlcek 2020-01-09 13:54:16 UTC
In reading through this BZ it seems what is being asked for is an additional field for the group description.

As correctly stated in the initial post to this BZ, CF uses the term `Description` to refer to the group name.
CF does not have a field for the group description as stored in AD.

If my understanding is correct what is being requested is to add a new field for the `Group Description` text
in addition to the already existing, but poorly named group `Description`, which contains the group name.

and to have an API call that can set a new `Group Description` field.

Please confirm my understanding is correct.

Comment 10 Joe Vlcek 2020-01-09 15:57:02 UTC
Thank you Rahul,

In my opinion this is not a bug, per se but really an RFE, maybe even two RFEs, one on the UI to add
a `Group Description String` and another on the API to support modifying that new field from the API.

JoeV

Comment 12 Joe Vlcek 2020-01-09 20:12:45 UTC
I'm going to assign this BZ to me while I get the backend migration work in place.

I'll move it back to UI once that's done.

JoeV

Comment 13 CFME Bot 2020-01-14 15:26:48 UTC
New commit detected on ManageIQ/manageiq-schema/master:

https://github.com/ManageIQ/manageiq-schema/commit/33d6e8b4785d126e13779fd1e86ea294225f88b1
commit 33d6e8b4785d126e13779fd1e86ea294225f88b1
Author:     Joe VLcek <jvlcek>
AuthorDate: Thu Jan  9 14:25:34 2020 -0500
Commit:     Joe VLcek <jvlcek>
CommitDate: Thu Jan  9 14:25:34 2020 -0500

    Add description_string to MiqGroup

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

 db/migrate/20200109190758_add_desc_string_to_miq_group.rb | 5 +
 1 file changed, 5 insertions(+)

Comment 14 Joe Vlcek 2020-01-14 16:00:12 UTC
Reassigning back to UI as the backend PR has now been merged.

Comment 16 CFME Bot 2020-02-17 10:36:06 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/d2edf1f52e6f043003dcad6b4ea77a6b1e6010a1
commit d2edf1f52e6f043003dcad6b4ea77a6b1e6010a1
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Feb 14 15:52:32 2020 +0000
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Feb 14 15:52:32 2020 +0000

    Added new Detailed Description field to Group edit/details screen

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

 app/controllers/ops_controller/ops_rbac.rb | 12 +-
 app/views/ops/_rbac_group_details.html.haml | 13 +
 2 files changed, 20 insertions(+), 5 deletions(-)