misc_pterodactyl-panel/resources/scripts/api
Dane Everitt f0ac0725b6
[Security] Don't return all servers on the system when not a root admin and admin level servers are requested
Cleaned up the API endpoint by simplifying the logic and adds test case to cover this bug.

If you ever need to list _all_ of the servers on the system you should be using the application API endpoint for the servers most likely.
2020-07-26 10:43:46 -07:00
..
account eslint cleanup 2020-07-04 18:30:50 -07:00
auth eslint cleanup 2020-07-04 18:30:50 -07:00
server Add endpoint support for decompressing files 2020-07-14 21:16:49 -07:00
getServers.ts [Security] Don't return all servers on the system when not a root admin and admin level servers are requested 2020-07-26 10:43:46 -07:00
getSystemPermissions.ts eslint cleanup 2020-07-04 18:30:50 -07:00
http.ts Support modifying the primary allocation for a server 2020-07-09 19:56:46 -07:00
transformers.ts Add additional mimetypes to check if a file is an archive 2020-07-15 13:09:45 -06:00