aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user-right.enum.ts
blob: 4c3d9e7c8b533333452c999a2f5b64b32877b6f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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,

  SEE_ALL_VIDEOS,
  CHANGE_VIDEO_OWNERSHIP,

  MANAGE_PLUGINS,

  MANAGE_VIDEOS_REDUNDANCIES
}