-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Description
The team system allows users to form and join teams for events and tournaments. This will consist of two parts:
- A page listing all of the teams that can be searched by team name along with an option to create a team
- A page to display team information and show the following options, depending on context: Join team, Leave team, Disband team. It will also show a toggle for the team leader to mark the team as a private or an open team.
If a team is private, the team leader must approve any people attempting to join the team.
Acceptance Criteria
- If a user tries to create a team and another team with the same name already exists, the user should be shown an error
- If a user tries to create a team and the team doesn't exist, the team should be created and that person should be marked as a team leader
- If a user tries to join a team that is private, they must be added to an approval queue.
- If a user tries to join a team that is open, they should be added to the team
- If a user tries to leave a team, then they should be removed from the team
- If the leader of a team disbands the team, the team will be removed and all team members marked as not being on a team anymore.
- If an admin deletes a team, then the team should be removed and all team members marked as not being on that team anymore.