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

50 lines
837 B
TypeScript
Raw Normal View History

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