Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/app/Http/Requests/Api/Client/Servers/GetServerRequest.php
10280 views
1
<?php
2
3
namespace Pterodactyl\Http\Requests\Api\Client\Servers;
4
5
use Pterodactyl\Http\Requests\Api\Client\ClientApiRequest;
6
7
class GetServerRequest extends ClientApiRequest
8
{
9
/**
10
* Determine if a client has permission to view this server on the API. This
11
* should never be false since this would be checking the same permission as
12
* resourceExists().
13
*/
14
public function authorize(): bool
15
{
16
return true;
17
}
18
}
19
20