Bug 1501333

Summary: RBAC: Tag expression | Get Error filtering vm/instances
Product: Red Hat CloudForms Management Engine Reporter: Ruslana Babyuk <rbabyuk>
Component: ApplianceAssignee: Yuri Rudman <yrudman>
Status: CLOSED ERRATA QA Contact: Ruslana Babyuk <rbabyuk>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: abellott, jhardy, obarenbo, rbabyuk, simaishi, smallamp, yrudman
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:rbac:tag
Fixed In Version: 5.9.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-01 13:19:29 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:
Attachments:
Description Flags
filter_error
none
log none

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