Users can currently create a new community while being member of another one - since they can only be associated with one community at a time, the old association gets overwritten. Whilst this is not a problem per se, the permissions/applications of the old community do not get deleted properly, thus not allowing a user to rejoin their previous community.
Upon creating a new community, the backend should check whether the user is already a member of another community and delete all associations (similar to leaving a community).
Tasks
[x] Remove associations to old community when creating a new one
Users can currently create a new community while being member of another one - since they can only be associated with one community at a time, the old association gets overwritten. Whilst this is not a problem per se, the permissions/applications of the old community do not get deleted properly, thus not allowing a user to rejoin their previous community.
Upon creating a new community, the backend should check whether the user is already a member of another community and delete all associations (similar to leaving a community).
Tasks