diff --git a/app/classes/shared/tasks.py b/app/classes/shared/tasks.py index e2429a7b..800335b9 100644 --- a/app/classes/shared/tasks.py +++ b/app/classes/shared/tasks.py @@ -114,7 +114,7 @@ class TasksManager: svr.backup_server() elif command == "update_executable": - svr.jar_update(user_lang) + svr.jar_update() management_helper.mark_command_complete(c.get('command_id', None)) time.sleep(1) diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index c3ee363e..14dd2951 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -340,8 +340,11 @@ class PanelHandler(BaseHandler): page_data['user-roles'] = user_roles if exec_user['superuser'] == 1: + super_auth_servers = [] + super_auth_servers.append("Access To All Servers") page_data['users'] = self.controller.users.get_all_users() page_data['roles'] = self.controller.roles.get_all_roles() + page_data['auth-servers'][exec_user['user_id']] = super_auth_servers else: page_data['users'] = self.controller.users.user_query(exec_user['user_id']) page_data['roles'] = self.controller.users.user_role_query(exec_user['user_id'])