Bug 1766756

Summary: Accordions navigation for User and Group are not changing when role restriction changed
Product: Red Hat CloudForms Management Engine Reporter: Yuri Rudman <yrudman>
Component: UI - OPSAssignee: drew uhlmann <duhlmann>
Status: CLOSED CURRENTRELEASE QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: low Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.9CC: bmidwood, dmetzger, hkataria, jocarter, lavenel, mfeifer, mpovolny, obarenbo, yrudman
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0Flags: mfeifer: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1770938 1770939 (view as bug list) Environment:
Last Closed: 2020-10-26 16:25:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1770938, 1770939    
Attachments:
Description Flags
reproducer none

Description Yuri Rudman 2019-10-29 19:59:30 UTC
Created attachment 1630320 [details]
reproducer

Description of problem:
Accordions navigation for User and Group are not changing when role restriction changing

Version-Release number of selected component (if applicable):
5.10.9

How reproducible:
100%

This BZ is second issue reported in https://bugzilla.redhat.com/show_bug.cgi?id=1762966

Steps to Reproduce:
1. Create new role with all product Features ( "Everything") and Access Restriction set to "None"
2. Create user for above role and log-in as that user
3. Navigate to Configuration -> Access Control -> User. Observe that all Groups and Users are present in Accordion and list of users present in the list the same as in accordion when Users selected
4. Update Role set-up in step 1. to have Access Restriction "Only User or Group Owned"

Actual results:
  list of visible users in the list would correctly show only single user, but Accordions are not changing and still show all users and group 
(movie attached)

Expected results:
  Accordions are in synch with list

Additional info:
  going to another screen and going back will update Accordions and will show correct data

in CFME 5.11 : after step 4. Accordion with group refreshed but Users Accordion still shows all users