2019-11-03 20:20:11 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Client\Servers\Subusers;
|
|
|
|
|
2020-03-22 22:31:25 +00:00
|
|
|
use Pterodactyl\Models\Permission;
|
2019-11-03 20:20:11 +00:00
|
|
|
|
2020-03-27 23:57:49 +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.
|
|
|
|
*
|
2020-03-22 22:31:25 +00:00
|
|
|
* @return string
|
2019-11-03 20:20:11 +00:00
|
|
|
*/
|
2020-03-22 22:31:25 +00:00
|
|
|
public function permission(): string
|
2019-11-03 20:20:11 +00:00
|
|
|
{
|
2020-03-22 22:31:25 +00:00
|
|
|
return Permission::ACTION_USER_READ;
|
2019-11-03 20:20:11 +00:00
|
|
|
}
|
|
|
|
}
|