Bug 1320841

Summary: [RFE] Option to rename the user, group, hostname entries in Red Hat Hat IDM through GUI.
Product: Red Hat Enterprise Linux 7 Reporter: Abhinay Reddy Peddireddy <apeddire>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED UPSTREAM QA Contact: Kaleem <ksiddiqu>
Severity: low Docs Contact:
Priority: low    
Version: 7.2CC: afarley, ldelouw, mkosek, pasik, pvoborni, rcritten
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-22 21:42:09 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:
Attachments:
Description Flags
Screen shot of user properties which shows there is no option to rename the userlogin. none

Description Abhinay Reddy Peddireddy 2016-03-24 07:38:39 UTC
Created attachment 1139855 [details]
Screen shot of user properties which shows there is no option to rename the userlogin.

Description of problem:

IDM doesn't have an option to edit the user login, Group name , Host name entries through GUI.

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

In all the versions of IPA. 

How reproducible:

Steps to Reproduce:

1. Install an IPA server on RHEL. 
2. Add the user, group entries. 
3. Try to rename the user, group , Host name entries through GUI. 

Actual results:

No option to edit the above mentioned entries through GUI as shown in the attachment. 

Expected results:

Utility or option to rename the above mentioned entries through GUI. 

Additional info:

This can be done through command line as below : 

# ipa user-mod --rename=<newname> <oldname>

For Example :

# ipa user-mod --rename=testusernew testuser
---------------------
Modified user "testuser"
---------------------
User login: testusernew
First name: test
Last name: user
Home directory: /home/testuser
Login shell: /bin/sh
Email address: testuser
UID: 66006
GID: 66006
Account disabled: False
Password: True
Member of groups: ipausers
Kerberos keys available: True

Similarly with group names as below : 

# ipa group-mod  --rename=<newgroupname>  oldgroupname

Comment 2 Petr Vobornik 2016-03-29 11:33:50 UTC
It is possible to extend Web UI to support equivalent of:
  user-mod --rename
  group-mod --rename

But host-mod doesn't have a rename option. I would confine this BZ only to users and groups. 

For host it is better to open separate bz to support rename. Then the new bz will be evaluated.

Comment 3 Petr Vobornik 2016-04-08 08:57:41 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5795

Comment 7 Amy Farley 2019-06-22 21:42:09 UTC
I would like to allow this to be done in the upstream, where we pull it in later.

Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5795


I am going to close this as UPSTREAM