mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix logical issue with get files perms check
This commit is contained in:
parent
c49159a0e5
commit
9710d64072
@ -86,7 +86,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
|
||||
and EnumPermissionsServer.BACKUP
|
||||
not 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