mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 19:57:29 +01:00
Fix work queue permissions check
This commit is contained in:
parent
517b8c9fc6
commit
9ddc29e41f
@ -50,7 +50,7 @@ def canSeeWorkQueue():
|
|||||||
Permission.APPROVE_RELEASE.check(current_user) or \
|
Permission.APPROVE_RELEASE.check(current_user) or \
|
||||||
Permission.APPROVE_CHANGES.check(current_user)
|
Permission.APPROVE_CHANGES.check(current_user)
|
||||||
|
|
||||||
@menu.register_menu(app, '.todo', "Work Queue", order=20, visible_when=lambda: canSeeWorkQueue)
|
@menu.register_menu(app, '.todo', "Work Queue", order=20, visible_when=canSeeWorkQueue)
|
||||||
@app.route("/todo/")
|
@app.route("/todo/")
|
||||||
@login_required
|
@login_required
|
||||||
def todo_page():
|
def todo_page():
|
||||||
|
Loading…
Reference in New Issue
Block a user