Bug 1536035

Summary: [RFE] Allow for deletion of group when users belong to another group
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: lgalis
Status: CLOSED CURRENTRELEASE QA Contact: Matt Pusateri <mpusater>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: cpelland, dclarizi, hkataria, jhardy, jprause, lavenel, lgalis, mpovolny, mpusater, obarenbo, simaishi, syangsao
Target Milestone: GAKeywords: FutureFeature, Regression, RFE
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: auth:miqldap:externalauth:ad:freeipa:openldap
Fixed In Version: 5.9.0.18 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1264967 Environment:
Last Closed: 2018-03-06 15:16:19 UTC Type: ---
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:
Bug Depends On: 1264967    
Bug Blocks:    

Comment 3 CFME Bot 2018-01-18 14:11:55 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:
https://github.com/ManageIQ/manageiq/commit/90adee097c739ce6091f4678a57bd411a31839dd

commit 90adee097c739ce6091f4678a57bd411a31839dd
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Wed Jan 17 15:04:35 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Jan 18 09:09:42 2018 -0500

    Merge pull request #16809 from lgalis/update_user_login_group_on_deletion
    
    Update users' current_group on group  deletion
    (cherry picked from commit abc4775d630e06a363827f60a58ecae9b3e68e6f)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1536035

 app/models/miq_group.rb       |  5 +++++
 app/models/user.rb            |  8 ++++++++
 spec/models/miq_group_spec.rb | 24 ++++++++++++++++++++++++
 spec/models/user_spec.rb      | 17 +++++++++++++++++
 4 files changed, 54 insertions(+)

Comment 4 Matt Pusateri 2018-02-06 19:16:39 UTC
Verified 5.9.0.19 MIQLDAP/External Auth (AD/FreeIPA)