Bug 1387707

Summary: RBAC: Wrong user/group count displayed in access control for tenant user
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: lgalis
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rbac:cfme_tenant
Fixed In Version: 5.7.0.7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1347670 Environment:
Last Closed: 2017-01-04 13:05:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1347670    
Bug Blocks:    

Comment 2 CFME Bot 2016-10-21 15:45:53 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/6e6b25cb20d32b3aa8503fe160efefc35e92a4a5

commit 6e6b25cb20d32b3aa8503fe160efefc35e92a4a5
Author:     Martin Povolny <mpovolny>
AuthorDate: Thu Oct 20 15:22:46 2016 +0200
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Oct 21 11:43:03 2016 -0400

    Merge pull request #10879 from lgalis/access_control_elements_count_incorrect
    
    Display the number of access control elements based on user permission
    (cherry picked from commit 4a26a2402d9a27a9f8651e806985b805b065e42c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1387707

 app/controllers/ops_controller/ops_rbac.rb       |  8 ++---
 spec/controllers/ops_controller/ops_rbac_spec.rb | 46 ++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 4 deletions(-)

Comment 3 Aziza Karol 2016-10-28 09:10:17 UTC
Number of access control elements based on user permission.

Verified:5.7.0.7-beta1.20161025153249_9376fbd

Comment 5 errata-xmlrpc 2017-01-04 13:05:12 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://rhn.redhat.com/errata/RHBA-2017-0012.html