POLIMI-FER-codebenders / tournament_app

Tournament app for Code Defenders made by student team of POLIMI and FER students
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Enable leader to leave their team if they are the only one left; Delete that team #77

Closed DominikBrdar closed 1 year ago

DominikBrdar commented 1 year ago

Otherwise, leader could be stuck in team forever (if they are the only one they can't assign role of leader to other member and leave) If OPEN team does not get deleted users could join it but it would be useless (without leader it can't join tournaments or assign leader role to other member) *** ANOTHER NOTE If we are planning to add team score at some point in future, maybe not delete the team but simply make it CLOSED

DominikBrdar commented 1 year ago

Anyway, I think it would be best to delete those teams for now because otherwise app could get overloaded with empty CLOSED teams

fadlnndd commented 1 year ago

This issue is the same as issue 59.