Bug 1770938

Summary: Accordions navigation for User and Group are not changing when role restriction changed
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: drew uhlmann <duhlmann>
Status: CLOSED ERRATA QA Contact: John Dupuy <jdupuy>
Severity: low Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.9CC: bmidwood, dmetzger, hkataria, jocarter, lavenel, mfeifer, mpovolny, mshriver, obarenbo, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.13.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1766756 Environment:
Last Closed: 2019-12-03 06:55:43 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: 1766756    
Bug Blocks:    

Comment 2 CFME Bot 2019-11-11 14:32:31 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/39083b0c31b49c5b65e1e212a14a10382d5f662b
commit 39083b0c31b49c5b65e1e212a14a10382d5f662b
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Tue Nov  5 05:06:11 2019 -0500
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Tue Nov  5 05:06:11 2019 -0500

    Merge pull request #6374 from d-m-u/fixing_user_group_being_wrong_in_tree

    Force user group reload after changing permissions so tree is correct

    (cherry picked from commit 97340d5d2125d2f003cb6a8f5e012c342409773e)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1770938

 app/controllers/ops_controller/ops_rbac.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 3 John Dupuy 2019-11-20 20:07:08 UTC
Verified in CFME 5.10.13.0

Steps of verification:
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"
5. Verified that the users listed in the accordion match what is in the table

Comment 5 errata-xmlrpc 2019-12-03 06:55:43 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/RHBA-2019:4047