From 30284ce3187dfbdc4ffa748c6db66373de6aa4c3 Mon Sep 17 00:00:00 2001 From: lladdy Date: Mon, 8 Nov 2021 22:02:34 +1030 Subject: [PATCH 1/2] Require superuser status for bot file downloads and admin links view. --- aiarena/frontend/templates/base.html | 2 +- aiarena/frontend/templates/bot.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aiarena/frontend/templates/base.html b/aiarena/frontend/templates/base.html index f4ec3b9f..4939f858 100644 --- a/aiarena/frontend/templates/base.html +++ b/aiarena/frontend/templates/base.html @@ -120,7 +120,7 @@

user

- {% if user.is_staff %} + {% if user.is_superuser %}