Bug 1337854

Summary: Activation key created by user is removed when user is deleted
Product: Red Hat Satellite Reporter: Marcel Gazdík <mgazdik>
Component: Activation KeysAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.1.8CC: bbuckingham, bkearney, cwelton, dimitry.kononenko, jcallaha, ktordeur, mmccune, rgroten, satellite6-bugs
Target Milestone: UnspecifiedKeywords: Reopened, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-27 09:03:07 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:
Attachments:
Description Flags
verification video none

Description Marcel Gazdík 2016-05-20 09:10:39 UTC
Description of problem:
  When you have created an activation key with some specific user, lets say TEST and when you remove/delete the user even the activation key is being removed along with that user.

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


Steps to Reproduce:
1. Create a user in WebUI 
2. Login with that user and create activation key
3. Verify the activation exists
4. Login as the admin user
5. remove the user created in step 1.
6. Verify the activation key exist

Actual results:
  Activation key will be removed

Expected results:
  Activation key shouldn't be removed.

Comment 2 Kenny Tordeurs 2016-06-10 09:26:22 UTC
Hi,

I have changed the priority to urgent seeing as this is a very big downside for customers as there is no warning when deleting the user account that the created Activation Keys also will be deleted.

Thanks,
Kenny

Comment 10 jcallaha 2016-09-19 19:42:25 UTC
Verified in Satellite 6.1.10.

Created activation keys with user then deleted the user saw that they keys remained. See attached video for another verification attempt.

Comment 11 jcallaha 2016-09-19 19:43:02 UTC
Created attachment 1202621 [details]
verification video

Comment 13 errata-xmlrpc 2016-09-27 09:03:07 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/RHBA-2016:1938