feat(submissions): scoped submissions per user/matchs, sync from polylan
This commit is contained in:
@@ -12,6 +12,7 @@ class Game(models.Model):
|
||||
steam_app_id = models.PositiveIntegerField(null=True, blank=True)
|
||||
name = models.CharField(max_length=255)
|
||||
path = models.CharField(max_length=100)
|
||||
custom_path = models.BooleanField(default=False)
|
||||
image = models.URLField(null=True, blank=True)
|
||||
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
@@ -41,6 +42,16 @@ class EventGame(models.Model):
|
||||
)
|
||||
enabled = models.BooleanField(default=True)
|
||||
|
||||
apibot_token = models.CharField(
|
||||
max_length=512,
|
||||
blank=True,
|
||||
null=True,
|
||||
help_text=(
|
||||
"Bearer token for the legacy PolyLAN AAndT API (from the AAndT's "
|
||||
"'apibot' admin page), used to auto-sync Scopes and their assigned users."
|
||||
),
|
||||
)
|
||||
|
||||
class Meta:
|
||||
constraints = [
|
||||
models.UniqueConstraint(
|
||||
|
||||
Reference in New Issue
Block a user