Bug 1434879 - Container volumes should honour tag visibility
Summary: Container volumes should honour tag visibility
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: GA
: 5.9.0
Assignee: Dan Clarizio
QA Contact: Einat Pacifici
URL:
Whiteboard: container
Depends On:
Blocks: 1445086
TreeView+ depends on / blocked
 
Reported: 2017-03-22 14:33 UTC by Dafna Ron
Modified: 2018-06-05 11:26 UTC (History)
7 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1445086 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:37:01 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs and screenshots (5.72 MB, application/x-gzip)
2017-03-22 14:33 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2017-03-22 14:33:07 UTC
Created attachment 1265412 [details]
logs and screenshots

Description of problem:

I set a location tag but the user can see all volumes. 

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

cfme-5.8.0.7-1.el7cf.x86_64
I am using a cfme podfied version with remote nfs server for the volumes 

How reproducible:

100%

Steps to Reproduce:
1. deploy podfied cfme on openshift and attach the openshift 3.4 as a provider under the cfme pod
2. log in as admin -> configuration -> access control -> create a new role -> create a new group with a location tag for NY -> create a new user and add the group to the user. 
3. log in as the user 

Actual results:
since none of the objects were tagged to be on location NY you should not see any objects 

Expected results:

we see all container volumes 

Additional info:
screenshot and logs

Comment 2 Federico Simoncelli 2017-03-22 20:53:46 UTC
Dafna I see that you reported this as a regression but I have the feeling this bug was present in 5.7.
Can you try and reproduce there? In case it reproduces we'll ask a clone for 5.7 as well.

Comment 3 Dafna Ron 2017-03-23 13:07:37 UTC
you're right. I checked lastest 5.7 and 5.7.0.17 and it was in both versions. 
was there already a bug opened that has not been fixed yet?

Comment 4 Federico Simoncelli 2017-03-24 09:22:19 UTC
(In reply to Dafna Ron from comment #3)
> you're right. I checked lastest 5.7 and 5.7.0.17 and it was in both
> versions. 
> was there already a bug opened that has not been fixed yet?

No, I guessed it by looking at the code history.

Zahi, please let's make sure that we don't have this issue in other pages (and let's add tests).

Comment 5 zakiva 2017-03-27 11:28:26 UTC
Upstream PRs:
Manageiq: https://github.com/ManageIQ/manageiq/pull/14517
Manageiq-ui-classic: https://github.com/ManageIQ/manageiq-ui-classic/pull/808

Comment 7 Einat Pacifici 2017-11-12 13:23:39 UTC
Verified. Followed instructions on Description, new user with defined role, cannot see any of the objects for the attached provider.


Note You need to log in before you can comment on or make changes to this bug.