Bug 1418961
Summary: | Dashbord and Report information not filtered by Tenancy | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Krain Arnold <krain> | ||||||
Component: | Reporting | Assignee: | Libor Pichler <lpichler> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavol Kotvan <pakotvan> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 5.7.0 | CC: | cpelland, Eric.Wannemacher, gtanzill, hkataria, jhardy, jocarter, krain, lpichler, mpovolny, myoder, obarenbo, simaishi | ||||||
Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||||
Target Release: | 5.8.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | tenant:report | ||||||||
Fixed In Version: | 5.8.0.6 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1431168 1432198 (view as bug list) | Environment: | |||||||
Last Closed: | 2017-06-12 16:17:52 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1431168, 1432198 | ||||||||
Attachments: |
|
Description
Krain Arnold
2017-02-03 09:34:05 UTC
Created attachment 1247585 [details]
Tenant User A Dashboard
Created attachment 1247586 [details]
Super admin dashboard
This seems to be working properly. I tried to recreate the reported issue however, the widgets for a user that is a member of a group that belongs to a child tenant of the default tenant saw no VMs on his dashboard widgets. The RBAC of the group in the child tenant was used while generating widgets for users of that group. I performed the following steps - 1. As super admin, added a new provider and did a refresh. All inventory created was assigned to the default tenant. 2. As super admin, created a new tenant named "Tenant A". 3. As super admin, created a new group named "Tenant A Group" belonging to tenant "Tenant A". Assigned the role "EvmRole-user" to the new group. 4. As super admin, created a new user named "Tenant a User" and assigned him to group "Tenant A Group". 5. Logged in as "Tenant A User" and observed that no VMs were visible on any widgets. (See first attachment) 6. As super admin, observed VMs appearing on widgets. (See second attachment) Not my ticket originally and I haven't reproduced on 4.2, but in 4.1 I am seeing this behavior and I could not find a BZ reporting the problem. Some reports like User Accounts - Linux seem to filter correctly. Host Summary with VM info is showing my sub tenant all of the VMs on the system. Even for peer tenants. The report VM Disk usage is showing me 6/8 VMs, none of which are owned by my subtenant, but interestingly I am not seeing the VM that is a part of my tenant org. Due to some PII concerns, I had to unfortunately upload the example screenshots as private, but take a look at the two images. The first shows the Operations tenant member's view under Compute/Infrastructure/Virtual Machines. We see what we should, only what we've provisioned. The second shows the dashboard. I've seen this manifest in different ways, but in this example, notice what the user can see under EVM: Recently Discovered VMs. He can see his two VMs, some VMs that were provisioned by Admin before the tenant even existed, and VMs belonging to another Tenant, Consulting. Does this accurately demonstrate the issue? It looks like it may be the reports based upon "Performance - VMs" that are not filtering by tenant. |