From bb2c1de4180e250710db4876f1492d85a4221c25 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 12 Apr 2022 18:49:50 -0400 Subject: [PATCH] Fix bug where general user could not create sch --- app/classes/web/panel_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index 42834d97..8e877652 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -1475,7 +1475,7 @@ class PanelHandler(BaseHandler): one_time = False if not superuser and not permissions[ - "Backup" + "Schedule" ] in self.controller.server_perms.get_user_id_permissions_list( exec_user["user_id"], server_id ): @@ -1633,7 +1633,7 @@ class PanelHandler(BaseHandler): one_time = False if not superuser and not permissions[ - "Backup" + "Schedule" ] in self.controller.server_perms.get_user_id_permissions_list( exec_user["user_id"], server_id ):