From 5b91ad25fe39352d8faaef585b745650d912b21f Mon Sep 17 00:00:00 2001 From: Julian Rother <julianr@fsmpi.rwth-aachen.de> Date: Mon, 12 Sep 2016 02:57:29 +0200 Subject: [PATCH] Enable editing of access permissions (auth table) --- server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 5b31fac..e295dd4 100644 --- a/server.py +++ b/server.py @@ -270,7 +270,9 @@ tabs = { 'deleted', 'time_publish', 'time_expire'], ['created_by', 'time_created', 'time_updated']), 'featured': ('featured', 'id', ['title', 'text', 'internal', 'visible', 'deleted'], - ['created_by', 'time_created', 'time_updated']) + ['created_by', 'time_created', 'time_updated']), + 'auth': ('auth', 'auth_id', ['auth_type', 'auth_user', 'auth_passwd'], + ['auth_id', 'course_id', 'lecture_id', 'video_id']) } @app.route('/edit', methods=['GET', 'POST']) -- GitLab