2020-08-06 07:58:01 -05:00
|
|
|
export const enum UserRight {
|
2022-04-22 02:50:20 -05:00
|
|
|
ALL = 0,
|
2018-08-14 02:08:47 -05:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_USERS = 1,
|
2019-01-04 01:56:20 -06:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_SERVER_FOLLOW = 2,
|
2019-01-04 01:56:20 -06:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_LOGS = 3,
|
2019-04-10 08:26:33 -05:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_DEBUG = 4,
|
2019-04-11 03:56:29 -05:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_SERVER_REDUNDANCY = 5,
|
2019-01-04 01:56:20 -06:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_ABUSES = 6,
|
2019-01-04 01:56:20 -06:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_JOBS = 7,
|
2019-01-04 01:56:20 -06:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_CONFIGURATION = 8,
|
|
|
|
MANAGE_INSTANCE_CUSTOM_PAGE = 9,
|
2018-08-14 02:08:47 -05:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_ACCOUNTS_BLOCKLIST = 10,
|
|
|
|
MANAGE_SERVERS_BLOCKLIST = 11,
|
2018-10-15 06:03:04 -05:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_VIDEO_BLACKLIST = 12,
|
|
|
|
MANAGE_ANY_VIDEO_CHANNEL = 13,
|
2018-08-14 02:08:47 -05:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
REMOVE_ANY_VIDEO = 14,
|
|
|
|
REMOVE_ANY_VIDEO_PLAYLIST = 15,
|
|
|
|
REMOVE_ANY_VIDEO_COMMENT = 16,
|
2019-02-26 03:55:40 -06:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
UPDATE_ANY_VIDEO = 17,
|
|
|
|
UPDATE_ANY_VIDEO_PLAYLIST = 18,
|
2019-02-26 03:55:40 -06:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
GET_ANY_LIVE = 19,
|
|
|
|
SEE_ALL_VIDEOS = 20,
|
|
|
|
SEE_ALL_COMMENTS = 21,
|
|
|
|
CHANGE_VIDEO_OWNERSHIP = 22,
|
2019-07-10 09:59:53 -05:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_PLUGINS = 23,
|
2020-01-10 03:11:28 -06:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_VIDEOS_REDUNDANCIES = 24,
|
2021-11-17 09:04:53 -06:00
|
|
|
|
2022-04-22 02:50:20 -05:00
|
|
|
MANAGE_VIDEO_FILES = 25,
|
|
|
|
RUN_VIDEO_TRANSCODING = 26,
|
2022-01-19 07:23:00 -06:00
|
|
|
|
2023-01-19 02:27:16 -06:00
|
|
|
MANAGE_VIDEO_IMPORTS = 27,
|
|
|
|
|
2023-04-21 07:55:10 -05:00
|
|
|
MANAGE_REGISTRATIONS = 28,
|
|
|
|
|
|
|
|
MANAGE_RUNNERS = 29
|
2017-10-27 09:55:03 -05:00
|
|
|
}
|