Bug 1501333 - RBAC: Tag expression | Get Error filtering vm/instances
Summary: RBAC: Tag expression | Get Error filtering vm/instances
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Yuri Rudman
QA Contact: Ruslana Babyuk
URL:
Whiteboard: ui:rbac:tag
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-12 11:46 UTC by Ruslana Babyuk
Modified: 2018-03-01 13:19 UTC (History)
7 users (show)

Fixed In Version: 5.9.0.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:19:29 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
filter_error (78.21 KB, image/png)
2017-10-12 11:46 UTC, Ruslana Babyuk
no flags Details
log (7.67 KB, text/plain)
2017-10-12 11:47 UTC, Ruslana Babyuk
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description Ruslana Babyuk 2017-10-12 11:46:56 UTC
Created attachment 1337724 [details]
filter_error

Description of problem:
Get Error filtering vm/instances with tag expression

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

How reproducible:
100%

Steps to Reproduce:
1. Add group with tag filter expression (EVM Group.VM and Instance.My Company Tags : Service Level CONTAINS 'Platinum')
2. Add cloud provider
3. As admin create restricted user and add tag to one of vms/instances
4. As restricted user login and navigate to instances list page

Actual results:
Get error

Expected results:
User should see one tagged vm/instance

Additional info:

Comment 2 Ruslana Babyuk 2017-10-12 11:47:36 UTC
Created attachment 1337725 [details]
log

Comment 6 CFME Bot 2017-10-19 20:27:11 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/071592aaa8812a0ebaa4be9fe4bc0c954a559301

commit 071592aaa8812a0ebaa4be9fe4bc0c954a559301
Author:     Yuri Rudman <yrudman>
AuthorDate: Mon Oct 16 15:23:13 2017 -0400
Commit:     Yuri Rudman <yrudman>
CommitDate: Tue Oct 17 10:29:20 2017 -0400

    keep full model name when parsing MiqExpression::Tag.
    https://bugzilla.redhat.com/show_bug.cgi?id=1501333

 lib/miq_expression/tag.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 9 errata-xmlrpc 2018-03-01 13:19:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0380


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