aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-04-22 09:50:20 +0200
committerChocobozzz <me@florianbigard.com>2022-04-22 09:50:20 +0200
commit961cbe4269e5f34639e29310fb3d90a6cb1bd6bc (patch)
tree06404c72c25a95238e7ef8a6bdfcb90d40c8649c /shared/models/users
parent4ec52d04dcc5d664612331f8e08d7d90da990415 (diff)
downloadPeerTube-961cbe4269e5f34639e29310fb3d90a6cb1bd6bc.tar.gz
PeerTube-961cbe4269e5f34639e29310fb3d90a6cb1bd6bc.tar.zst
PeerTube-961cbe4269e5f34639e29310fb3d90a6cb1bd6bc.zip
Fix getting live by anonymous user
Diffstat (limited to 'shared/models/users')
-rw-r--r--shared/models/users/user-right.enum.ts56
1 files changed, 28 insertions, 28 deletions
diff --git a/shared/models/users/user-right.enum.ts b/shared/models/users/user-right.enum.ts
index d3f793d8b..9c6828aa5 100644
--- a/shared/models/users/user-right.enum.ts
+++ b/shared/models/users/user-right.enum.ts
@@ -1,47 +1,47 @@
1export const enum UserRight { 1export const enum UserRight {
2 ALL, 2 ALL = 0,
3 3
4 MANAGE_USERS, 4 MANAGE_USERS = 1,
5 5
6 MANAGE_SERVER_FOLLOW, 6 MANAGE_SERVER_FOLLOW = 2,
7 7
8 MANAGE_LOGS, 8 MANAGE_LOGS = 3,
9 9
10 MANAGE_DEBUG, 10 MANAGE_DEBUG = 4,
11 11
12 MANAGE_SERVER_REDUNDANCY, 12 MANAGE_SERVER_REDUNDANCY = 5,
13 13
14 MANAGE_ABUSES, 14 MANAGE_ABUSES = 6,
15 15
16 MANAGE_JOBS, 16 MANAGE_JOBS = 7,
17 17
18 MANAGE_CONFIGURATION, 18 MANAGE_CONFIGURATION = 8,
19 MANAGE_INSTANCE_CUSTOM_PAGE, 19 MANAGE_INSTANCE_CUSTOM_PAGE = 9,
20 20
21 MANAGE_ACCOUNTS_BLOCKLIST, 21 MANAGE_ACCOUNTS_BLOCKLIST = 10,
22 MANAGE_SERVERS_BLOCKLIST, 22 MANAGE_SERVERS_BLOCKLIST = 11,
23 23
24 MANAGE_VIDEO_BLACKLIST, 24 MANAGE_VIDEO_BLACKLIST = 12,
25 MANAGE_ANY_VIDEO_CHANNEL, 25 MANAGE_ANY_VIDEO_CHANNEL = 13,
26 26
27 REMOVE_ANY_VIDEO, 27 REMOVE_ANY_VIDEO = 14,
28 REMOVE_ANY_VIDEO_PLAYLIST, 28 REMOVE_ANY_VIDEO_PLAYLIST = 15,
29 REMOVE_ANY_VIDEO_COMMENT, 29 REMOVE_ANY_VIDEO_COMMENT = 16,
30 30
31 UPDATE_ANY_VIDEO, 31 UPDATE_ANY_VIDEO = 17,
32 UPDATE_ANY_VIDEO_PLAYLIST, 32 UPDATE_ANY_VIDEO_PLAYLIST = 18,
33 33
34 GET_ANY_LIVE, 34 GET_ANY_LIVE = 19,
35 SEE_ALL_VIDEOS, 35 SEE_ALL_VIDEOS = 20,
36 SEE_ALL_COMMENTS, 36 SEE_ALL_COMMENTS = 21,
37 CHANGE_VIDEO_OWNERSHIP, 37 CHANGE_VIDEO_OWNERSHIP = 22,
38 38
39 MANAGE_PLUGINS, 39 MANAGE_PLUGINS = 23,
40 40
41 MANAGE_VIDEOS_REDUNDANCIES, 41 MANAGE_VIDEOS_REDUNDANCIES = 24,
42 42
43 MANAGE_VIDEO_FILES, 43 MANAGE_VIDEO_FILES = 25,
44 RUN_VIDEO_TRANSCODING, 44 RUN_VIDEO_TRANSCODING = 26,
45 45
46 MANAGE_VIDEO_IMPORTS 46 MANAGE_VIDEO_IMPORTS = 27
47} 47}