webknossos
webknossos copied to clipboard
Allow deactivated users to gracefully switch organization
We should go through use cases when users are deactivated in one organization: how can they then gracefully access their identities in other organizations?
Also, api/user should no longer give deactivated users.
A possible solution would be to set the user’s lastLoggedInIdentity to any non-deactivated one in the deactivate-route
The same should happen when the user is deleted via full organization delete