mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix bug where general user could not create sch
This commit is contained in:
parent
add784df42
commit
bb2c1de418
@ -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
|
||||
):
|
||||
|
Loading…
Reference in New Issue
Block a user