Bug 1341175

Summary: Tags and RBAC are not working on CFME 5.6.0.7-beta2.6
Product: Red Hat CloudForms Management Engine Reporter: Andre Motta <amotta>
Component: ApplianceAssignee: Libor Pichler <lpichler>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.6.0CC: abellott, gtanzill, jhardy, ncatling, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-02 09:33:38 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:

Description Andre Motta 2016-05-31 12:13:28 UTC
Description of problem:
Creating a CFME tag category named: "Providers Type" with four tags: "aws, gce, rhev and vmw" then assigning the tags to four different roles/groups/users and each tag to a  different service catalog item doesn't allow to hide service catalog items from users belonging to different groups/roles.

Version-Release number of selected component (if applicable):
5.6.0.7-beta2.6 

How reproducible:
Everytime one tries to restrict visibility to Service Catalog items via tags/RBAC.

Steps to Reproduce:
1. Creating a CFME tag category named: "Providers Type" with four tags: "aws, gce, rhev and vmw".

2. Assign the tags to four different roles/groups/users and each tag to a different service catalog item.

3. Login as the user having its Service Catalog item tagged with its provider type tag.

Actual results:
The logged in user has visibility to all Service Catalog Items, even those that are tagged with other Providers type tags. 

Expected results:
The logged in user should only see and be able to interact with the Service Catalog items that have his tag (providers type tag)


Additional info: