Bug 1568013

Summary: CloudForms 4.6 - filtering based on tags does not work for catalog items
Product: Red Hat CloudForms Management Engine Reporter: jritenou
Component: ApplianceAssignee: Libor Pichler <lpichler>
Status: CLOSED CURRENTRELEASE QA Contact: Landon LaSmith <llasmith>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: abellott, cbolz, cfrancio, cpelland, greartes, jhardy, jritenou, kmorey, laparici, ldomb, llasmith, ncatling, obarenbo, simaishi, smallamp, yrudman
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1570118 (view as bug list) Environment:
Last Closed: 2019-02-11 14:07:06 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: 1570118    

Description jritenou 2018-04-16 15:13:03 UTC
Description of problem: In CloudForms 4.6 (both GA & errata release 1), when I create a group that is using a role that has VM access restrictions set to anything other than "none", users of the group cannot see any catalog items.  Applying a tag to the group's filtering, and then applying the same tag to the catalog item does not make it visible, as it as in previous versions of CloudForms


Version-Release number of selected component (if applicable): GA & errata 1


How reproducible: Always


Steps to Reproduce:
1. Create group assigned to a role with VM access restriction set to "Only User Owned" or "Only User or Group Owned". 
2. Set a filtering tag for the group under "This user is limited to items with the selected tags."
3. Assign that same tag to a catalog item.

Actual results: Catalog item should be visible to users of this group


Expected results: Catalog item is not visible to users of the group


Additional info: Have obserbed this in 3 different environments so far - one upgrade from 4.5 (where it previously worked) to 4.6 GA, and one new deployment of 4.6 GA and 4.6 errata 1 each.

Comment 2 Greg McCullough 2018-04-16 16:45:12 UTC
Changing component to Appliance to review as it appears to be an RBAC issue.

Comment 17 Landon LaSmith 2018-06-29 21:07:50 UTC
VERIFIED in 5.10.0.2. A restricted user (ownership and tagging) can see catalog items that are not user/group owned when they both have the same tag