Bug 1693183 - Assigned filters don't work if datastore is deleted which has the filter assigned and it shows every cluster regardless of the assignment
Summary: Assigned filters don't work if datastore is deleted which has the filter assi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.9.6
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.11.0
Assignee: Libor Pichler
QA Contact: Devidas Gaikwad
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1710998
TreeView+ depends on / blocked
 
Reported: 2019-03-27 09:59 UTC by Rahul Chincholkar
Modified: 2020-08-05 16:48 UTC (History)
13 users (show)

Fixed In Version: 5.11.0.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1710998 (view as bug list)
Environment:
Last Closed: 2019-12-13 14:57:07 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rahul Chincholkar 2019-03-27 09:59:17 UTC
Description of problem:

It seems that the assigned filters do not work if we delete the datastore which has the filter assigned and it shows every cluster regardless of the assignment.

My VMWARE structure:
~~~
vcenter-server
|
| -> Datacenter1
    | -> Cluster1
|
| -> Datacenter2
    | -> Cluster2
|
| -> Datacenter3
    | -> Cluster3
~~~

1. I created a role and group `rahul` and assigne filters for only `Cluster3`, created user `rahulc`, logged in with user `rahulc` and verified that I can only see `Cluster3`.

2. Next, Deleted `Datacenter3` and its children `Cluster3`. When logged in with user `rahulc`, I could see `Cluster1` and `Cluster2`. Checked the assigned filter, `Cluster3` was not seen in the checkboxes.

3. I put a tick on `Cluster2` in assigned filters, but it was no longer working and I still could see all the available clusters i.e `Cluster1` and `Cluster2` for user `rahulc`.

4. I could also see newly created clusters, I created new datacenter and cluster `Datacenter4` and `Cluster4` and user `rahulc` can view : `Cluster1`, `Cluster2`, `Cluster4`

5. Creating a new group with the same role seems to work with assigned filters.

Comment 2 Dave Johnson 2019-03-27 10:01:21 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 15 Antonin Pagac 2019-05-31 11:20:33 UTC
Appliance version 5.11.0.5.

Removing an item now does not cause displaying unwanted items. There's warning displayed when looking at a group with outdated filters:

"These outdated filters need review as it affects their visibility. We suggest editing and saving the group to delete these outdated filters."


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