diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-15 13:03:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-16 16:41:36 +0200 |
commit | b44164bb567fe7c9f65f1ac2908d44990a8ccc8e (patch) | |
tree | 37baa0346293e1ed30f8a43270dfd54a4791c6f0 /shared/models/users/user-role.ts | |
parent | af5767ffae41b2d5604e41ba9a7225c623dd6735 (diff) | |
download | PeerTube-b44164bb567fe7c9f65f1ac2908d44990a8ccc8e.tar.gz PeerTube-b44164bb567fe7c9f65f1ac2908d44990a8ccc8e.tar.zst PeerTube-b44164bb567fe7c9f65f1ac2908d44990a8ccc8e.zip |
Add ability to mute a user/instance by server in server api
Diffstat (limited to 'shared/models/users/user-role.ts')
-rw-r--r-- | shared/models/users/user-role.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/models/users/user-role.ts b/shared/models/users/user-role.ts index d7020c0f2..adef8fd95 100644 --- a/shared/models/users/user-role.ts +++ b/shared/models/users/user-role.ts | |||
@@ -27,7 +27,9 @@ const userRoleRights: { [ id: number ]: UserRight[] } = { | |||
27 | UserRight.REMOVE_ANY_VIDEO_CHANNEL, | 27 | UserRight.REMOVE_ANY_VIDEO_CHANNEL, |
28 | UserRight.REMOVE_ANY_VIDEO_COMMENT, | 28 | UserRight.REMOVE_ANY_VIDEO_COMMENT, |
29 | UserRight.UPDATE_ANY_VIDEO, | 29 | UserRight.UPDATE_ANY_VIDEO, |
30 | UserRight.SEE_ALL_VIDEOS | 30 | UserRight.SEE_ALL_VIDEOS, |
31 | UserRight.MANAGE_ACCOUNTS_BLOCKLIST, | ||
32 | UserRight.MANAGE_SERVERS_BLOCKLIST | ||
31 | ], | 33 | ], |
32 | 34 | ||
33 | [UserRole.USER]: [] | 35 | [UserRole.USER]: [] |