Bug #16514

When user is deleted and they still have an active session in browser, Dashboard Not Found error is shown

Added by Kavita Gaikwad almost 2 years ago. Updated 9 days ago.

Status:Closed
Priority:Normal
Assignee:Kavita Gaikwad
Category:Authentication
Target version:1.14.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1208419 Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/3903

Description

Bugzilla link - https://bugzilla.redhat.com/show_bug.cgi?id=1208419

When user is deleted while they still have an active session in browser and they access Satellite again, message

Dashboard Not Found
Please try to update your request
[ Back ]

is shown. Clicking back or reload does not help. Even even visiting /users/logout does not help, I get

The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.

on the URL.

What helps is visiting /users/login and logging in as different user.

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

Satellite 6.2

How reproducible:

Deterministic.

Steps to Reproduce:
1. Be admin, create user bob, set password to bob.
2. In different browser, log in as bob.
3. In the first browser, as admin, delete user bob.
4. In the second browser, go to Satellite's URL.

Actual results:

Dashboard Not Found
Please try to update your request
[ Back ]

Expected results:

Logon page, perhaps with some message "your session has expired".

Additional info:


Related issues

Duplicated by Foreman - Bug #17854: When user is deleted and they still have an active sessio... Duplicate 12/27/2016

Associated revisions

Revision 65a58954
Added by Kavita Gaikwad almost 2 years ago

fixes #16514 - redirect to login page if user is deleted

History

#1 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3831 added

#2 Updated by Dominic Cleal almost 2 years ago

  • Project changed from Katello to Foreman
  • Category set to Authentication
  • Assignee set to Kavita Gaikwad

#3 Updated by The Foreman Bot almost 2 years ago

  • Pull request https://github.com/theforeman/foreman/pull/3903 added

#4 Updated by Kavita Gaikwad almost 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Dominic Cleal almost 2 years ago

  • Legacy Backlogs Release (now unused) set to 189

#6 Updated by Kavita Gaikwad over 1 year ago

  • Target version set to 1.15.6

#7 Updated by Kavita Gaikwad over 1 year ago

  • Target version changed from 1.15.6 to 1.15.1

#8 Updated by Tomer Brisker over 1 year ago

  • Duplicated by Bug #17854: When user is deleted and they still have an active session in browser, they are not logged out added

#9 Updated by Tomer Brisker over 1 year ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/3831)

#10 Updated by Tomer Brisker over 1 year ago

  • Bugzilla link set to 1208419

Also available in: Atom PDF