diff options
-rw-r--r-- | apioforum/forum.py | 1 |
1 files changed, 1 insertions, 0 deletions
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() |