Bug 1597125

Summary: [RFE] A user should not see all stacks of all tenants in Stacks view.
Product: Red Hat CloudForms Management Engine Reporter: Keigo Noha <knoha>
Component: ApplianceAssignee: Alexander Demicev <ademicev>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: abellott, ademicev, cpelland, jocarter, lavenel, maufart, mfeifer, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: FutureFeature, RFE
Target Release: 5.11.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.11.0.15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:33:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:

Description Keigo Noha 2018-07-02 06:27:28 UTC
Description of problem:
A user can see all stacks of all tenants in Stacks view.

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

How reproducible:
Always

Steps to Reproduce:
1. Install RHOSP10 with packstack environment.
2. Add the admin and demo tenants to CFME.
3. Create a new role which it can see Stacks and Instances.
4. Create a new group bound to the new group and mapped to demo tenant in RHOSP.
5. Create a stack in admin and demo tenants in RHOSP.
6. Create a instance in admin and demo tenants in RHOSP.
7. Create a new user which belongs to the new group.
8. Login the user and check Instances view and Stacks view.

Actual results:
Currently, a user can see all stacks of all tenants in Stacks view.

Expected results:
A user can see stacks belongs to the tenant mapped to the group.

Additional info:
Instances view is separated according to the tenant mappings.
Stacks view should be the same as Instances view.

Comment 14 Marek Aufart 2019-07-18 08:16:23 UTC
Last PR https://github.com/ManageIQ/manageiq/pull/18308 was merged

Comment 15 Ido Ovadia 2019-08-04 13:58:44 UTC
Verified
========
5.11.0.16

Comment 17 errata-xmlrpc 2019-12-12 13:33:51 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:4199