mirror of
https://github.com/pelican-dev/panel.git
synced 2025-12-17 22:21:20 +01:00
15 lines
330 B
PHP
15 lines
330 B
PHP
<?php
|
|
|
|
namespace App\Contracts\Http;
|
|
|
|
use App\Enums\SubuserPermission;
|
|
|
|
interface ClientPermissionsRequest
|
|
{
|
|
/**
|
|
* Returns the permission used to validate that the authenticated user may perform
|
|
* this action against the given resource (server).
|
|
*/
|
|
public function permission(): SubuserPermission|string;
|
|
}
|