Bug 1321007 - Clicking a link or visiting a url while logged out does not properly redirect to original destination
Summary: Clicking a link or visiting a url while logged out does not properly redirect...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Shlomi Zadok
QA Contact: Roman Plevka
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1330889 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-24 13:04 UTC by Justin Sherrill
Modified: 2019-09-26 16:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:00:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14072 0 None None None 2016-04-29 16:07:07 UTC
Foreman Issue Tracker 14886 0 None None None 2016-04-29 15:07:13 UTC

Description Justin Sherrill 2016-03-24 13:04:07 UTC
Description of problem:

For some reason the login redirect isn't working properly.  It always dumps the user to the hosts page.


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


How reproducible:
Always

Steps to Reproduce:
1. Log out 
2. Go to some url such as https://hostname/content_hosts
3. Login

Actual results:
You get redirected to  /hosts

Expected results:
redirects you to where you were trying to go


Additional info:
No idea if this has anything to do with katello being present or not, it seemed to start as part of the upgrade to rails 4

This is super annoying

Comment 2 Zach Huntington-Meath 2016-04-29 14:32:44 UTC
*** Bug 1330889 has been marked as a duplicate of this bug. ***

Comment 3 Zach Huntington-Meath 2016-04-29 14:39:00 UTC
Created redmine issue http://projects.theforeman.org/issues/14886 from this bug

Comment 4 Zach Huntington-Meath 2016-04-29 15:13:40 UTC
This was actually already fixed a big ago in foreman https://github.com/theforeman/foreman/pull/3440

Comment 5 Zach Huntington-Meath 2016-04-29 15:23:31 UTC
Connecting redmine issue http://projects.theforeman.org/issues/14072 from this bug

Comment 6 Jan Pazdziora 2016-05-04 15:19:36 UTC
Is there downstream commit SHA1 of the cherry pick available?

Comment 7 Roman Plevka 2016-05-06 12:53:13 UTC
VERIFIED
on sat6.2.0 snap10 (GA 10.0)
- user now lands on the requested page with respecting his/her permissions (error message appears if he/she lacks any permissions to view the resource)

Comment 9 Bryan Kearney 2016-07-27 11:00:12 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:1501


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