Fix admin group names
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Madis Mägi 2023-08-13 17:16:31 +03:00
parent 73409d175a
commit 1739f85ec7

View File

@ -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"} },