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