Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1804060

Summary: Parent admin user should not be deleted after impersonation session
Product: Red Hat Satellite Reporter: dgupte
Component: Users & RolesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: tstrych
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7.0CC: mhulan, satellite6-bugs, tstrych
Target Milestone: 6.7.0Keywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: foreman-1.24.1.8-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 13:28:43 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:

Description dgupte 2020-02-18 06:35:48 UTC
Description of problem:
>>
Parent admin user should not be deleted after impersonation session.

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

Steps to Reproduce:

1) Login with Admin user
2) Create one user with Administrator privileges ex. "satadmin"
3) Click on "Impersonate" from Administer >> Users >> satadmin >> 
4) Go to users tab and try to delete the parent admin user 

Note:- As Impersonate session is on, the parent admin user should not get removed.

Comment 6 tstrych 2020-03-09 11:57:14 UTC
Verified.

I followed the steps from Description.

I also tried this:
1. Third admin user, ex. "newadmin"
2. I logged as "newadmin" and I tried to impersonate the other two users - in my case "admin" and "satadmin". 
In both cases there was missing button for deletion of the parent admin user, in my case for "newadmin". That's correct.

I was unable to delete parent admin.

Comment 10 errata-xmlrpc 2020-04-14 13:28:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1454

Comment 11 Red Hat Bugzilla 2023-09-14 05:52:50 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days