PeerTube/shared/models/users/user-right.enum.ts

52 lines
861 B
TypeScript
Raw Normal View History

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,
2022-04-22 09:50:20 +02:00
MANAGE_SERVER_FOLLOW = 2,
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,
2022-04-22 09:50:20 +02:00
MANAGE_SERVER_REDUNDANCY = 5,
2022-04-22 09:50:20 +02:00
MANAGE_ABUSES = 6,
2022-04-22 09:50:20 +02:00
MANAGE_JOBS = 7,
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,
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,
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,
2022-04-22 09:50:20 +02:00
MANAGE_VIDEO_FILES = 25,
RUN_VIDEO_TRANSCODING = 26,
2023-01-19 09:27:16 +01:00
MANAGE_VIDEO_IMPORTS = 27,
MANAGE_REGISTRATIONS = 28,
MANAGE_RUNNERS = 29
}