Bug 1323679 - rbac: Logging in as Administrator Role missing access to some tabs
Summary: rbac: Logging in as Administrator Role missing access to some tabs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.6.0
Assignee: Martin Povolny
QA Contact: Ramesh A
URL:
Whiteboard: rbac:retest
Depends On:
Blocks: 1334377
TreeView+ depends on / blocked
 
Reported: 2016-04-04 12:22 UTC by Pete Savage
Modified: 2016-07-13 09:11 UTC (History)
9 users (show)

Fixed In Version: 5.6.0.6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1334377 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:47:09 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

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


Note You need to log in before you can comment on or make changes to this bug.