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