separate route permission + token manage

This commit is contained in:
xiaomlove
2025-04-17 18:59:03 +07:00
parent 263901bc54
commit 432c57f886
27 changed files with 203 additions and 54 deletions
@@ -0,0 +1,10 @@
<?php
namespace App\Enums\Permission;
enum RoutePermissionEnum: string {
case TORRENT_LIST = 'torrent:list';
case TORRENT_VIEW = 'torrent:view';
case TORRENT_UPLOAD = 'torrent:upload';
case USER_VIEW = "user:view";
}