Bug 1320200

Summary: User with no view_host and access_dashboard roles redirected to hosts and dashboard pages
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: Users & RolesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DEFERRED QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, bkearney, ehelms
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-27 20:43:07 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:

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.