aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user-right.enum.ts
blob: 950b22bad14adb69aefbc44020b11e88fb10569c (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
40
41
42
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,

  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,
  SEE_ALL_COMMENTS,
  CHANGE_VIDEO_OWNERSHIP,

  MANAGE_PLUGINS,

  MANAGE_VIDEOS_REDUNDANCIES
}