Files
panel-pelican-dev/app/Contracts/Http/ClientPermissionsRequest.php

15 lines
330 B
PHP
Raw Normal View History

<?php
2024-03-12 22:39:16 -04:00
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;
}