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 about 1 year ago. Updated 11 months ago.

Status:Closed
Priority:Normal
Assigned To:Kavita Gaikwad
Category:Authentication
Target version:Team Anurag Iteration 6
Difficulty: Bugzilla link:1208419
Found in release: Pull request:https://github.com/theforeman/foreman/pull/3903
Story points-
Velocity based estimate-
Release1.14.0Release relationshipAuto

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 about 1 year ago

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

History

#1 Updated by The Foreman Bot about 1 year ago

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

#2 Updated by Dominic Cleal about 1 year ago

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

#3 Updated by The Foreman Bot about 1 year ago

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

#4 Updated by Kavita Gaikwad about 1 year ago

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

#5 Updated by Dominic Cleal about 1 year ago

  • Release set to 1.14.0

#6 Updated by Kavita Gaikwad about 1 year ago

  • Target version set to Team Anurag backlog

#7 Updated by Kavita Gaikwad 12 months ago

  • Target version changed from Team Anurag backlog to Team Anurag Iteration 6

#8 Updated by Tomer Brisker 11 months 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 11 months ago

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

#10 Updated by Tomer Brisker 11 months ago

  • Bugzilla link set to 1208419

Also available in: Atom PDF