Bug 1401559

Summary: WebUI: Tag visibility - Container Templates should honor tag visibility
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: zakiva
Status: CLOSED ERRATA QA Contact: Einat Pacifici <epacific>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: bazulay, cpelland, dajohnso, fsimonce, hkataria, jhardy, lavenel, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:tag:container
Fixed In Version: 5.7.0.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1391673 Environment:
Last Closed: 2017-01-04 13:18:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On: 1391673    
Bug Blocks:    

Comment 2 CFME Bot 2016-12-06 17:14:06 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/0b599efd82f7634060599e247944f51a7595ce70

commit 0b599efd82f7634060599e247944f51a7595ce70
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Thu Dec 1 15:21:10 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Mon Dec 5 17:38:20 2016 -0500

    Merge pull request #12759 from zakiva/fix_template_tags
    
    Fix tag visibility for Container Template
    (cherry picked from commit e0aa64947cb8cce50070766916d540ccb936452d)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1401559

 lib/miq_expression.rb | 1 +
 lib/rbac/filterer.rb  | 1 +
 2 files changed, 2 insertions(+)

Comment 3 Einat Pacifici 2016-12-12 13:16:41 UTC
Verified on 5.7.0.14
Recreation steps: 
Created new role a
Created group a with role a and tag: Department/Engineering. 
Add User aa attached to group a. 

Go to compute --> Templates and tag a template with Department/Engineering. 

Login as user=aa and navigate to compute-Templates. 
Only templates with Department/Engineering were viewed.

Comment 5 errata-xmlrpc 2017-01-04 13:18:27 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://rhn.redhat.com/errata/RHBA-2017-0012.html