implement player blacklisting for gdpr

This commit is contained in:
2021-03-25 13:13:20 +01:00
parent 04f251a702
commit 432d0d4ce1
4 changed files with 27 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ def singleRound():
r = db.getRoundByTimestamp(timestamp)
if not r:
return ("Round not found", 404)
elif r.blacklist:
return ("Unavailable due to pending GDPR deletion request", 451)
r = db.calcRatingChanges(r)
if not r: