Bug 1525657

Summary: Compute->Physical Infrastructure->Servers is NOT visible for evmgroup-security role
Product: Red Hat CloudForms Management Engine Reporter: Mike Shriver <mshriver>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Shriver <mshriver>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: hkataria, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0Flags: mshriver: automate_bug+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rbac:provider
Fixed In Version: 5.10.0.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1530683 (view as bug list) Environment:
Last Closed: 2019-02-11 14:00:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1530683    
Attachments:
Description Flags
permission configuration, Physical Infra -> Servers included
none
Physical Infra vertical nav visibility for evmrole-security none

Description Mike Shriver 2017-12-13 19:59:30 UTC
Created attachment 1367530 [details]
permission configuration, Physical Infra -> Servers included

Description of problem:
The Compute->Physical Infrastructure->Servers is not available in the vertical navigation for a user with evmrole-security.

Configuration for evmrole-security includes 'Physical Servers' view permissions.


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

How reproducible:
100%

Steps to Reproduce:
1. Create user with evmgroup-security/evmrole-security
2. Login as user
3. Note missing vertical nav Compute->Physical Infrastructure->Servers


Actual results:
No 'Servers' in vertical nav

Expected results:
'Servers' available in vertical nav, with view permissions only.

Additional info:

Comment 2 Mike Shriver 2017-12-13 20:09:43 UTC
Created attachment 1367534 [details]
Physical Infra vertical nav visibility for evmrole-security

Comment 3 Mike Shriver 2017-12-18 18:33:13 UTC
NOTE:

This behavior is not only present for the evmrole-security.

The following default roles are impacted by this BZ:

EvmRole-user
EvmRole-approver
EvmRole-auditor
EvmRole-operator
EvmRole-support
EvmRole-security
EvmRole-user

Harpreet I marked 'need-info' only looking for an ack that you've seen this updated list of impacted default roles.

Comment 4 Harpreet Kataria 2017-12-21 18:57:41 UTC
Should be fixed by https://github.com/ManageIQ/manageiq/pull/16637

Comment 6 Mike Shriver 2018-07-06 13:59:37 UTC
I am still seeing missing vertical navigation for Physical Infrastructure->Servers in CFME 5.10.0.2.20180626170006_40dc459 with EvmRole-security.

Comment 7 Harpreet Kataria 2018-07-24 14:52:26 UTC
https://github.com/ManageIQ/manageiq/pull/17753

Comment 8 CFME Bot 2018-07-24 21:21:16 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/3d5732d5f232fa3f703118b8e1bfb0b8a5322def
commit 3d5732d5f232fa3f703118b8e1bfb0b8a5322def
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Jul 24 10:49:38 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Jul 24 10:49:38 2018 -0400

    Added Physical Server view to OOTB Security role.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1525657

 db/fixtures/miq_user_roles.yml | 1 +
 1 file changed, 1 insertion(+)

Comment 9 Mike Shriver 2018-09-20 14:29:08 UTC
Tested in CFME 5.10.0.16.20180919151347_a0c9e02

EvmRole-security access for Physical Infrastructure in vertical nav is correct.