Bug 1264967 - [RFE] Allow for deletion of group when users belong to another group
Summary: [RFE] Allow for deletion of group when users belong to another group
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.10.0
Assignee: lgalis
QA Contact: Matt Pusateri
URL:
Whiteboard: auth:miqldap:externalauth:ad:freeipa:...
Depends On:
Blocks: 1322396 1460307 1536035 1555371
TreeView+ depends on / blocked
 
Reported: 2015-09-21 18:39 UTC by Josh Carter
Modified: 2020-08-13 08:17 UTC (History)
11 users (show)

Fixed In Version: 5.10.0.0
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1322396 1460307 1536035 (view as bug list)
Environment:
Last Closed: 2018-06-21 21:01:26 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 6 Harpreet Kataria 2016-10-03 17:31:06 UTC
Pivotal story: https://www.pivotaltracker.com/story/show/131568585

Comment 8 Matt Pusateri 2017-05-17 19:57:57 UTC
Right now we really only have the concept of "current group" while we store multiple groups in the database, they are not visible in the UI. Another problem in how we support multiple groups, is that it's possible for a user to have a group relationsip that is not shown in the UI b/c it's not their current group. So you try to delete a group, but you can't because of the group relationship. But you also can't see what users are in what groups, so you can't delete the user to delete the group. Related Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1437682 - 5.8.0.12-rc1  This is probably really a new RFE, but it's related.

Comment 9 Satoe Imaishi 2017-05-24 18:05:11 UTC
PR: https://github.com/ManageIQ/manageiq/pull/15041

Comment 11 Matt Pusateri 2017-10-24 17:24:06 UTC
Verified on 5.9.0.2 with external auth - FreeIPA. With and without external groups.

Comment 12 Matt Pusateri 2017-11-14 19:34:44 UTC
Assigning this back to Development.

So if a user has 2 groups and the group that you are deleting is the user's current group. Logins for that user are broken till an administrator manually fixes that user's groups. The user is still a member of at least 1 group, but can't log in b/c they have no current group. This obviously doesn't scale for administrators if the group contains multiple users.  Also the administrator will expect that they shouldn't have to do this if they are using external ldap groups.


Note You need to log in before you can comment on or make changes to this bug.