Fix admin group names
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
73409d175a
commit
1739f85ec7
@ -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"} },
|
||||
|
Loading…
Reference in New Issue
Block a user