Bug 1323679

Summary: rbac: Logging in as Administrator Role missing access to some tabs
Product: Red Hat CloudForms Management Engine Reporter: Pete Savage <psavage>
Component: UI - OPSAssignee: Martin Povolny <mpovolny>
Status: CLOSED ERRATA QA Contact: Ramesh A <rananda>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: cpelland, dajohnso, dclarizi, hkataria, jhardy, mpovolny, obarenbo, sbulage, simaishi
Target Milestone: GAKeywords: Reopened, ZStream
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rbac:retest
Fixed In Version: 5.6.0.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1334377 (view as bug list) Environment:
Last Closed: 2016-06-29 15:47:09 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:
Bug Depends On:    
Bug Blocks: 1334377    

Description Pete Savage 2016-04-04 12:22:07 UTC
Description of problem: Administrator role has no access to containers


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


How reproducible: 100%


Steps to Reproduce:
1. Create a used in the Administrator (not super-administrator) role
2. Login
3.

Actual results: Containers top level nav is missing


Expected results: Containers top level nav should be there


Additional info:

Comment 2 Satyajit Bulage 2016-05-05 15:23:01 UTC
As per the product feature tree, the administrator role does not have access to container, middleware, and RHI so when you login with the user having administrator role,these subtabs are not displayed.

Comment 4 Martin Povolny 2016-05-06 12:23:34 UTC
"Actual results: Containers top level nav is missing"

Containers are no longer top-level.

They are under "Compute"

Comment 5 Martin Povolny 2016-05-06 12:26:22 UTC
Ok, you probably did not mean "Top-level" I see the problem.

Comment 6 Martin Povolny 2016-05-06 12:30:58 UTC
RHI, the plugin author can add the permission by adding those to db/fixtures/miq_product_roles/redhat_access_user_roles.yml

Comment 8 CFME Bot 2016-05-06 20:10:42 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3b7a24756159d1330f0e1841ba5f1461b293a518

commit 3b7a24756159d1330f0e1841ba5f1461b293a518
Author:     Martin Povolny <mpovolny>
AuthorDate: Fri May 6 15:11:17 2016 +0200
Commit:     Martin Povolny <mpovolny>
CommitDate: Fri May 6 16:07:00 2016 +0200

    Containers and Middleware features for admin.
    
    Admin user should have middleware and containers by default.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1323679

 db/fixtures/miq_product_features.yml | 222 +++++++++++++++++------------------
 db/fixtures/miq_user_roles.yml       |  18 +++
 2 files changed, 129 insertions(+), 111 deletions(-)

Comment 12 Ramesh A 2016-06-07 12:41:35 UTC
Good to go.  Verified and working fine in 5.6.0.9-rc2.20160531154046_b4e2f6d.

Container navigation is displayed in the menu option for Administrator Role.  There is some issues with RHI, which I am currently investigating, will log an BZ if it turns out to be a bug. Moving this issue to verified state based on the description of this bug.

Comment 14 errata-xmlrpc 2016-06-29 15:47:09 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/RHBA-2016:1348