Bug 1296810

Summary: Group: Assign Filter combination fails with Hosts & Clusters
Product: Red Hat CloudForms Management Engine Reporter: Ramesh A <rananda>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED WONTFIX QA Contact: Ramesh A <rananda>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.4.0CC: abellott, jhardy, obarenbo, psavage
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: appliance:tag
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-07 18:43:26 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:

Description Ramesh A 2016-01-08 07:42:17 UTC
Description of problem:
Assigned Filter combination fails with Hosts & Clusters

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

How reproducible:
Very

Steps to Reproduce:
1. Create / Edit a group
2. In the Assigned Filter Combination Choose Following combination
    a) My Company Tag + Host & Cluster (say Service Level- Gold + CFME-ESX55-Cluster)
    b) Hosts & Cluster + VM's & Templates (say CFME-ESX55-Cluster + Discovered virtual machine)
3. Login as the group user and check for the visibility of assigned permissions

Actual results:
The combination filter does not show up, instead all the objects under the Host's gets displayed.
eg:
===
a) For "My Company Tag + Host & Cluster", Only the Hosts which are tagged as Gold should get displayed, but in reality All the Hosts gets displayed

b) For "Hosts & Cluster + VM's & Templates" Combination, Only the vm's which are comes under "Discovered virtual machine" should be displayed, in reality it displays all the available vm's under the selected Cluster"

In-short:
Does not work:
==============
1) My Company Tags + Hosts & Clusters ==> Does not work
2) Hosts & Clusters + VMs & Templates ==> Does not work
3) My Company Tags + Hosts & Clusters + VMs & Templates ==> Does not work

Works:
=======
4) My Company Tags + VMs & Templates ==> Works

Expected results:
Visibility should be based on the combination of Assigned Filters

Additional info:

Comment 2 Ramesh A 2016-01-08 07:43:10 UTC
This issue is also seen in 5.5.2.0.20151219144653_653c0d4

Comment 3 Chris Pelland 2017-06-07 18:43:26 UTC
This BZ has been closed since it was opened on a version of CloudForms that has reached the end of its lifecycle.  If you find that this bug is still relevant, please open a new BZ against the relevant supported version of CloudForms.