2025-02-15 03:15:45 +08:00
|
|
|
<?php
|
|
|
|
|
|
2025-03-29 14:32:31 +07:00
|
|
|
namespace App\Enums\Permission;
|
2025-02-15 03:15:45 +08:00
|
|
|
|
|
|
|
|
enum PermissionEnum: string {
|
|
|
|
|
case UPLOAD_TO_SPECIAL_SECTION = 'uploadspecial';
|
2025-02-25 02:05:49 +08:00
|
|
|
case BE_ANONYMOUS = 'beanonymous';
|
2025-04-17 01:39:40 +07:00
|
|
|
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';
|
2025-03-29 14:32:31 +07:00
|
|
|
case UPLOAD = 'upload';
|
2025-04-17 18:59:03 +07:00
|
|
|
case MANAGE_USER_BASIC_INFO = "prfmanage";
|
|
|
|
|
case MANAGE_USER_CONFIDENTIAL_INFO = "cruprfmanage";
|
|
|
|
|
case VIEW_USER_CONFIDENTIAL_INFO = "userprofile";
|
2026-01-29 20:24:36 +07:00
|
|
|
case VIEW_USER_HISTORY = "viewhistory";
|
2025-04-17 01:39:40 +07:00
|
|
|
|
2025-02-15 03:15:45 +08:00
|
|
|
}
|