Bug 1347670

Summary: RBAC: Wrong user/group count displayed in access control for tenant user
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: UI - OPSAssignee: lgalis
Status: CLOSED CURRENTRELEASE QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rbac:cfme_tenant
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1387707 (view as bug list) Environment:
Last Closed: 2017-06-12 16:06:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1387707    
Attachments:
Description Flags
snapshot none

Description Aziza Karol 2016-06-17 11:32:13 UTC
Created attachment 1169050 [details]
snapshot

Description of problem:


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

How reproducible:
100%

Steps to Reproduce:
1.Navigate to configuration->settings->access control->tenant and create a new child tenant
2.create a new group by selecting the above tenant and role as "EvmRole-super_administrator"
3.create a user base on above group
4.login with that user and navigate to settings->configuration->access control
5.

Actual results:
In accordion only one user and group is displayed, but on right hand side of the page the count is different.

Expected results:


Additional info:

Comment 3 CFME Bot 2016-10-20 13:26:18 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/4de9d54df6213bd457334a878c26d3dc380083c6

commit 4de9d54df6213bd457334a878c26d3dc380083c6
Author:     Laura Galis <lgalis>
AuthorDate: Tue Aug 30 14:29:19 2016 -0400
Commit:     Laura Galis <lgalis>
CommitDate: Tue Oct 18 18:45:10 2016 -0400

    Display the number of access control elements based on user permission
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1347670

 app/controllers/ops_controller/ops_rbac.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comment 5 Aziza Karol 2017-03-06 10:04:47 UTC
Access control elements displayed based on user permission.

Verified:5.8.0.3.20170301174324_1e2e0c4