mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
18 lines
404 B
PHP
18 lines
404 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Api\Client\Servers\Databases;
|
|
|
|
use App\Enums\SubuserPermission;
|
|
use App\Http\Requests\Api\Client\ClientApiRequest;
|
|
|
|
class RotatePasswordRequest extends ClientApiRequest
|
|
{
|
|
/**
|
|
* Check that the user has permission to rotate the password.
|
|
*/
|
|
public function permission(): SubuserPermission
|
|
{
|
|
return SubuserPermission::DatabaseUpdate;
|
|
}
|
|
}
|