Bug 1762966

Summary: Turn on "Access Restriction for Services, VM and Templates" in roles will cause user to not see users listed
Product: Red Hat CloudForms Management Engine Reporter: Tuan <tuado>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED NOTABUG QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.10CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, mshriver, obarenbo, yrudman
Target Milestone: GA   
Target Release: 5.10.13   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-28 20:42:58 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:
Attachments:
Description Flags
Video none

Description Tuan 2019-10-17 22:18:09 UTC
Description of problem:
When a custom role has "Access Restriction for Services, VM and Templates" set to none, the user can see the full list of users.  

When custom role is changed to "Only user or group owned" "only user owned", the users list shortens and the only user visible is the user that is logged in.

How is this setting affecting the user visibility permissions of the current user?

Video attached:





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

How reproducible:
Everytime

Steps to Reproduce:
1.Add custom role, assign group and user
2.Set custom role from none to "Only user or group owned" "only user owned"
3.Visibility is shortened on Users list.

Actual results:


Expected results:


Additional info:
Also, the accordions are not changing when the users and group visibility changes.

Comment 2 Tuan 2019-10-17 22:21:33 UTC
Created attachment 1627002 [details]
Video

Comment 11 Yuri Rudman 2019-10-29 20:04:26 UTC
BZ for the second issue (the accordions are not changing when the users and group visibility changes) :  https://bugzilla.redhat.com/show_bug.cgi?id=1766756