misc_pterodactyl-panel/app/Http/Requests/Api/Client/Servers/Subusers/GetSubuserRequest.php
2021-01-23 12:33:34 -08:00

16 lines
352 B
PHP

<?php
namespace Pterodactyl\Http\Requests\Api\Client\Servers\Subusers;
use Pterodactyl\Models\Permission;
class GetSubuserRequest extends SubuserRequest
{
/**
* Confirm that a user is able to view subusers for the specified server.
*/
public function permission(): string
{
return Permission::ACTION_USER_READ;
}
}