mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 14:34:44 +02:00
19 lines
434 B
PHP
19 lines
434 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Api\Client\Servers;
|
|
|
|
use App\Http\Requests\Api\Client\ClientApiRequest;
|
|
|
|
class GetServerRequest extends ClientApiRequest
|
|
{
|
|
/**
|
|
* Determine if a client has permission to view this server on the API. This
|
|
* should never be false since this would be checking the same permission as
|
|
* resourceExists().
|
|
*/
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
}
|