beeoclock / client-panel-app

https://panel.beeoclock.com
2 stars 0 forks source link

[Fix] [BUG] Error with diff. tenant-id after re-login on another account #535

Open Karbashevskyi opened 1 month ago

Karbashevskyi commented 1 month ago

Scenario:

  1. User login into account Nr. 1
  2. Select some business context (tenant-id)
  3. User logout
  4. User login into account Nr. 2
  5. User automatically (by program) move to previous business context (tenant-id)
  6. User receive error: Access denied

Reason: Because user dosn't have any access to business context where he isn't a member of the selected business context.