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

46 lines
652 B
TypeScript

export const enum UserRight {
ALL,
MANAGE_USERS,
MANAGE_SERVER_FOLLOW,
MANAGE_LOGS,
MANAGE_DEBUG,
MANAGE_SERVER_REDUNDANCY,
MANAGE_ABUSES,
MANAGE_JOBS,
MANAGE_CONFIGURATION,
MANAGE_INSTANCE_CUSTOM_PAGE,
MANAGE_ACCOUNTS_BLOCKLIST,
MANAGE_SERVERS_BLOCKLIST,
MANAGE_VIDEO_BLACKLIST,
MANAGE_ANY_VIDEO_CHANNEL,
REMOVE_ANY_VIDEO,
REMOVE_ANY_VIDEO_PLAYLIST,
REMOVE_ANY_VIDEO_COMMENT,
UPDATE_ANY_VIDEO,
UPDATE_ANY_VIDEO_PLAYLIST,
GET_ANY_LIVE,
SEE_ALL_VIDEOS,
SEE_ALL_COMMENTS,
CHANGE_VIDEO_OWNERSHIP,
MANAGE_PLUGINS,
MANAGE_VIDEOS_REDUNDANCIES,
MANAGE_VIDEO_FILES,
RUN_VIDEO_TRANSCODING
}