From 1739f85ec70fa5a2a008be3141820c1223664696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madis=20M=C3=A4gi?= Date: Sun, 13 Aug 2023 17:16:31 +0300 Subject: [PATCH] Fix admin group names --- inventory-app/doorboy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory-app/doorboy.py b/inventory-app/doorboy.py index 651376f..121f0f4 100644 --- a/inventory-app/doorboy.py +++ b/inventory-app/doorboy.py @@ -195,7 +195,7 @@ def view_doorboy(): return render_template("doorboy.html", **locals()) @page_doorboy.route("/m/doorboy/admin") -@login_required(groups=["k-space:admins"]) +@login_required(groups=["k-space:board", "k-space:kubernetes:admins"]) def view_doorboy_admin(): results = db.inventory.aggregate([ { "$match": {"component": "doorboy", "type": "token"} },