Pterodactyl-Panel/app
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
..
Console cs fix 2020-06-28 15:43:44 -07:00
Contracts Code cleanup & fix frontend searching servers; closes #2100 2020-07-06 21:25:00 -07:00
Events
Exceptions Always return the status code from the daemon if possible 2020-07-18 10:23:28 -07:00
Extensions
Helpers
Http [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
Jobs
Models [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
Notifications
Observers
Policies
Providers Code cleanup & fix frontend searching servers; closes #2100 2020-07-06 21:25:00 -07:00
Repositories Always return the status code from the daemon if possible 2020-07-18 10:23:28 -07:00
Rules
Services Merge branch 'develop' into feature/server-mounts 2020-07-11 12:29:30 -06:00
Traits
Transformers Update allocations to support ids; protect endpoints; support notes 2020-07-09 20:36:08 -07:00
helpers.php