misc_pterodactyl-panel/app/Http/Requests/Api/Client/Servers/Subusers/GetSubuserRequest.php

17 lines
352 B
PHP
Raw Normal View History

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