mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-18 15:05:03 +08:00
separate route permission + token manage
This commit is contained in:
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user