From 242f8cd10f51caa271bb4a5bdbab24f06edaf157 Mon Sep 17 00:00:00 2001 From: citrons Date: Sun, 8 Aug 2021 00:02:25 +0000 Subject: p_create_threads actually does the --- apioforum/forum.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apioforum/forum.py b/apioforum/forum.py index 270b328..ce0215c 100644 --- a/apioforum/forum.py +++ b/apioforum/forum.py @@ -168,6 +168,7 @@ def view_forum(forum): ) @forum_route("create_thread",methods=("GET","POST")) +@requires_permission("p_create_threads") def create_thread(forum): db = get_db() forum = db.execute("SELECT * FROM forums WHERE id = ?",(forum['id'],)).fetchone() -- cgit v1.2.3