Open plakitkelly opened 4 months ago
@plakitkelly Please retest.
No more errors. @MariusJulius But when deactivating/archiving the user, user can still create new project, edit users, roles etc. (related to #740) And another thing: 1) User A is in 2 institutions, and logged in to X institution 2) User B deactivate/archive user A from X institution 3) User A is still logged in but when user A refreshes the page, user cannot change institution anymore. He is still in X institution where he was logged in, but can do actions that should no longer be possible. User has to log in again to be in the correct institution.
@plakitkelly can you provide steps? Also what date did you set - as the earliest date is today (end of day)
Steps:
Refresh, hard refresh, re-open browser - doesn't work The only solution: delete the latest cookies
https://github.com/keeleinstituut/tv-tolkevarav/assets/130659408/70f98a25-e570-49c5-9cdd-46e75cf60664
Expected result: User should be able to log in without deleting the cookies, because the user maybe doesn't know what are the cookies and how to remove them.