Bug 1460307

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 ERRATA QA Contact: Matt Pusateri <mpusater>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: cpelland, dclarizi, hkataria, jhardy, jprause, lgalis, mpovolny, mpusater, obarenbo, simaishi, syangsao
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.8.1   
Hardware: All   
OS: All   
Whiteboard: auth:miqldap:externalauth:ad:freeipa:openldap
Fixed In Version: 5.8.1.0 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1264967 Environment:
Last Closed: 2017-08-02 17:28:27 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 2 CFME Bot 2017-06-09 16:01:06 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/caa1b85a0d0ff8f73790a565843fc9866ec06aec

commit caa1b85a0d0ff8f73790a565843fc9866ec06aec
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Wed May 24 13:48:04 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jun 9 11:55:03 2017 -0400

    Merge pull request #15041 from lgalis/allow_not_empty_group_deletion
    
    Allow deletion of groups with users belonging to other groups
    (cherry picked from commit 828b50b82e5a7dedb2394e4db942bf1357360e6c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1460307

 app/models/miq_group.rb            | 13 ++++++++-
 spec/models/miq_group_spec.rb      | 54 +++++++++++++++++++++++++++++++++-----
 spec/models/miq_widget_set_spec.rb |  2 +-
 3 files changed, 60 insertions(+), 9 deletions(-)

Comment 3 Matt Pusateri 2017-06-30 19:33:00 UTC
Verrified: Tested on MIQLDAP (AD, FreeIPA, OpenLDAP) External Auth (AD, FreeIPA).  5.8.1.0

Comment 5 errata-xmlrpc 2017-08-02 17:28:27 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-2017:1758