Bug 1343418 - WebUI:RBAC-Unable to login when the user has only access to Chargeback feature
Summary: WebUI:RBAC-Unable to login when the user has only access to Chargeback feature
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Martin Povolny
QA Contact: Nikhil Dhandre
URL:
Whiteboard: ui:rbac
Depends On:
Blocks: 1447752
TreeView+ depends on / blocked
 
Reported: 2016-06-07 10:01 UTC by Ramesh A
Modified: 2018-03-06 15:22 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1447752 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:22:34 UTC
Category: Bug
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Role-Access (116.60 KB, image/png)
2016-06-07 10:01 UTC, Ramesh A
no flags Details
Login Error (45.20 KB, image/png)
2016-06-07 10:01 UTC, Ramesh A
no flags Details

Description Ramesh A 2016-06-07 10:01:05 UTC
Created attachment 1165564 [details]
Role-Access

Description of problem:
Unable to login when the user has only access to Chargeback feature

Version-Release number of selected component (if applicable):
5.6.0.9-rc2.20160531154046_b4e2f6d

How reproducible:
Very

Steps to Reproduce:
1. Manange a provider
2. Create a new role by limiting the access only to "Chargeback" product feature
3. Create a new group and user for this role
4. Try to login with the new user

Actual results:
Unable to login to the appliance - UI displays error message stating "The user's role is not authorized for any access, please contact the administrator!"
Refer the screen shots for further information

Expected results:
Should be able to login successfully and only chargeback menu should be displayed in the navigation.

Additional info:
evm.log file:
==============
[----] E, [2016-06-07T05:59:15.255323 #2998:c34510] ERROR -- : MIQ(dashboard_controller-authenticate): The user's role is not authorized for any access, please contact the administrator!

Comment 2 Ramesh A 2016-06-07 10:01:26 UTC
Created attachment 1165565 [details]
Login Error

Comment 4 Martin Povolny 2017-04-19 08:01:52 UTC
Confirming the bug.

Comment 5 Martin Povolny 2017-04-19 12:26:21 UTC
https://github.com/ManageIQ/manageiq/pull/14809

Comment 6 CFME Bot 2017-04-19 14:51:28 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/0a5ae7cfcd7e92830d8ffcd242fc3f034523e792

commit 0a5ae7cfcd7e92830d8ffcd242fc3f034523e792
Author:     Martin Povolny <mpovolny>
AuthorDate: Wed Apr 19 14:20:36 2017 +0200
Commit:     Martin Povolny <mpovolny>
CommitDate: Wed Apr 19 14:20:36 2017 +0200

    Add chargeback to shortcuts to allow access to chargeback only.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1343418

 db/fixtures/miq_shortcuts.yml | 5 +++++
 1 file changed, 5 insertions(+)


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