slotlist / slotlist-backend

Backend of slotlist.info, an ArmA 3 mission planning and slotlist management tool
https://slotlist.info
MIT License
13 stars 6 forks source link

Check if user is already in a community when creating a new one #18

Closed MorpheusXAUT closed 6 years ago

MorpheusXAUT commented 6 years ago

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