1
0
Fork 0
peertube/shared/models/users/user-right.enum.ts

48 lines
807 B
TypeScript
Raw Normal View History

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