Bug 1465465

Summary: Container Product Feature in a Role Required for VM Visibility Menu Box
Product: Red Hat CloudForms Management Engine Reporter: myoder
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Landon LaSmith <llasmith>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: hkataria, jhardy, mpovolny, myoder, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1498891 (view as bug list) Environment:
Last Closed: 2018-03-06 15:27:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1498891    
Attachments:
Description Flags
VM Visibility Box none

Description myoder 2017-06-27 13:34:08 UTC
Created attachment 1292337 [details]
VM Visibility Box

Description of problem:
In order to enable the VM Visibility toggle menu under My Settings => Default Views, 2 Product Features [1] must be enabled under a custom Role.  It seems the Containers section is irrelevant for visibility of VMs.

[1] 
Compute => Containers => Pods => View = > List 
Settings => My Settings => Modify => Default Views

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

How reproducible:
Always

Steps to Reproduce:
1. Create a custom role.
2. Enable the 2 roles listed in description.
3. User can now toggle VM Visiblity under the My Settings => Default Views section.

Actual results:
Comput => Containers => Pods => View => List is required in a role for users to be able to toggle the VM Visibility option.

Expected results:
I expect Containers not be involved in this option, maybe the Product Feature under Infrastructure or Cloud, but not Containers.

Additional info:
Attached a photo of the VM Visibility toggle menu box.

Comment 11 CFME Bot 2017-10-04 17:53:56 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/04e384579eb329f2ce5f5e67cb6942cd9e44f9fb

commit 04e384579eb329f2ce5f5e67cb6942cd9e44f9fb
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Oct 3 14:34:00 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Oct 3 14:34:00 2017 -0400

    Fixed VM visibility fieldset alignment.
    
    VM Visibility switch was inside an incorrect if block, moved it out of the if block
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1465465

 app/views/configuration/_ui_2.html.haml | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

Comment 13 Landon LaSmith 2017-10-19 16:50:35 UTC
VERIFIED. "VM Visibility" is visible when RBAC Container features are disabled.

Version: 5.9.0.2.20171010190026_0413a06