mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-18 06:37:28 +08:00
API: torrents upload/list
This commit is contained in:
@@ -7,5 +7,15 @@ enum PermissionEnum: string {
|
||||
case BE_ANONYMOUS = 'beanonymous';
|
||||
|
||||
case TORRENT_LIST = 'torrent:list';
|
||||
case TORRENT_VIEW = 'torrent:view';
|
||||
case TORRENT_VIEW_SPECIAL = 'view_special_torrent';
|
||||
case TORRENT_SET_HR = 'torrent_hr';
|
||||
case TORRENT_SET_PRICE = 'torrent-set-price';
|
||||
case TORRENT_SET_STICKY = 'torrentsticky';
|
||||
case TORRENT_MANAGE = 'torrentmanage';
|
||||
case TORRENT_APPROVAL_ALLOW_AUTOMATIC = 'torrent-approval-allow-automatic';
|
||||
case TORRENT_SET_SPECIAL_TAG = 'torrent-set-special-tag';
|
||||
case UPLOAD = 'upload';
|
||||
|
||||
case USER_VIEW = "user:view";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user