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

41 lines
553 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_ACCOUNTS_BLOCKLIST,
MANAGE_SERVERS_BLOCKLIST,
MANAGE_VIDEO_BLACKLIST,
REMOVE_ANY_VIDEO,
REMOVE_ANY_VIDEO_CHANNEL,
REMOVE_ANY_VIDEO_PLAYLIST,
REMOVE_ANY_VIDEO_COMMENT,
UPDATE_ANY_VIDEO,
UPDATE_ANY_VIDEO_PLAYLIST,
GET_ANY_LIVE,
SEE_ALL_VIDEOS,
CHANGE_VIDEO_OWNERSHIP,
MANAGE_PLUGINS,
MANAGE_VIDEOS_REDUNDANCIES
}