Bug 1537601 - RBAC Users can be removed from all associated groups after the webui shows the error "A User must be assigned to a Group"
Summary: RBAC Users can be removed from all associated groups after the webui shows th...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.10.0
Assignee: lgalis
QA Contact: Landon LaSmith
URL:
Whiteboard: webui:rbac
Depends On:
Blocks: 1552873
TreeView+ depends on / blocked
 
Reported: 2018-01-23 15:13 UTC by Landon LaSmith
Modified: 2019-02-11 13:58 UTC (History)
6 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1552873 (view as bug list)
Environment:
Last Closed: 2019-02-11 13:58:52 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Landon LaSmith 2018-01-23 15:13:18 UTC
Description of problem: A user can be removed from all associated groups after the webui shows the error "A User must be assigned to a Group" by navigating away from the user details page. 


Version: 5.9.0.17


How reproducible: 100%


Steps to Reproduce:
1. Create an RBAC user that is assigned to one or more groups
2. Edit the RBAC user and remove them from all of their assigned groups
3. Click Save
4. After receiving the error "A User must be assigned to a Group", navigate away from the user's details page.
5. Select the user in the RBAC accordion to view their details

Actual results: The assigned user is visible in the accordion but selecting that user doesn't show the details for the user. The details view and configuration menu shows info for the previously selected RBAC item.


Expected results: The changes to the user account are not committed when the webui displays an error. 


Additional info: You can't edit the user account when selecting it from the webui accordion

Comment 4 Landon LaSmith 2018-07-05 16:22:09 UTC
VERIFIED in 5.10.0.2. Removing a user from all associated groups and attempting to save causes and error message to be displayed. Navigating away from the user details in the UI then returning to the details for that user confirms that the user was not removed from those groups


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