Bug 1320200 - User with no view_host and access_dashboard roles redirected to hosts and dashboard pages
Summary: User with no view_host and access_dashboard roles redirected to hosts and das...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-22 14:47 UTC by Roman Plevka
Modified: 2019-09-26 13:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-27 20:43:07 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Roman Plevka 2016-03-22 14:47:15 UTC
Description of problem:
If I have a user with no `access_dashboard` or `view_hosts` roles, some dialogs are forwarding me to those pages just to see the Permission Denied windows.

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

How reproducible:


Steps to Reproduce:
1. have user with no roles assigned (or at least with no view_hosts and access_dashboard roles)
2. navigate to `My Account` and hit `Submit`.
3. This leads you to `/hosts` page showing you permission denied.
4. Clicking `Back` leads you to `/dashboard` page just to see another permission denied dialog.

Actual results:
looks like navigation to these pages is hardcoded

Expected results:
User being redirected to some accessible page according to his roles

Additional info:

Comment 2 Bryan Kearney 2017-03-27 20:43:07 UTC
I do not see us adressing this in the next few releases. I am therefore closing this out. If you feel that this is a mistake, please feel free to re-open with additional information.


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