qam4 / ebattles

Automatically exported from code.google.com/p/ebattles
1 stars 1 forks source link

Ban/Kick Players/Teams from Event #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Event owner or moderators should be able to ban or kick players or teams from 
an event.

Original issue reported on code.google.com by frederic...@gmail.com on 3 Sep 2009 at 4:34

GoogleCodeExporter commented 9 years ago

Original comment by frederic...@gmail.com on 3 Sep 2009 at 6:48

GoogleCodeExporter commented 9 years ago
Also need to be able to delete a player/team.

So the event manage page should have a new tab "Events Players", with a list of 
players/teams, and buttons to ban/kick/delete them.

Kick: Remove player from event.
   The player is not allowed to participate to the event anymore.
   If the player has already played, the player's stats may remain in the ladder to 
prevent database orphans.
   The player may sign up to the event again. 
Ban: User is kicked from event and is not allowed to sign up to that event 
again in 
the future
Delete: Event player is deleted from database.
   If player is deleted after he already played a game, there will be orphans in the 
database, so matches list/info will be corrupt. So it is better not to allow it.

Original comment by frederic...@gmail.com on 10 Sep 2009 at 2:06

GoogleCodeExporter commented 9 years ago
But if the player has played already, I can't just delete him from the database.
That would leave orphans in the database, since some tables (matches, scores, 
awards)
refer to the players table.

So for "Ban", I think I'll just prevent that player from playing in that event 
again.
The ban could be lifted at any time.

And for "Kick", I could reset the players statistics.

Original comment by frederic...@gmail.com on 28 Sep 2009 at 4:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r151.

Original comment by frederic...@gmail.com on 18 Dec 2009 at 10:22