OpenSlides / openslides-client

Webclient for OpenSlides 4+
MIT License
3 stars 33 forks source link

Fix redirect if a user is locked out #4235

Open Elblinator opened 1 month ago

Elblinator commented 1 month ago

Describe the bug Sometimes a user is not correctly redirected if they are locked out of a meeting

How to Reproduce

  1. Have a user (B) in several meetings (uncertain if that is a requirement but it is far more likely to happen with several meetings)
  2. With one browser login as user B
  3. Navigate to any page (except the autopilot)
  4. Make a reload/Make a hard reload
  5. With another browser login as an admin and lock out B
  6. The page "You are not supposed to be here." is shown instead of the wanted redirect
  7. IF you do a normal reload in the home then the content in the mat-card and the menu left vanishes and you need to reload to be able to navigate somewhere else

Expected behavior B should immediately be redirected

reiterl commented 2 days ago

Your issue description mixes user A and user B. I fixed it.