mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix logical issue
This commit is contained in:
parent
4ef31864ca
commit
ad7ba9d6a7
@ -46,7 +46,7 @@ class ApiServersServerFilesIndexHandler(BaseApiHandler):
|
||||
not in self.controller.server_perms.get_user_id_permissions_list(
|
||||
auth_data[4]["user_id"], server_id
|
||||
)
|
||||
or EnumPermissionsServer.BACKUP
|
||||
or not EnumPermissionsServer.BACKUP
|
||||
in self.controller.server_perms.get_user_id_permissions_list(
|
||||
auth_data[4]["user_id"], server_id
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user