diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-04 11:19:16 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-04 11:19:16 +0100 |
commit | 4cb6d4578893db310297d7e118ce2fb7ecb952a3 (patch) | |
tree | a89a2e2062ba7bb91e922f07a7950ee51e090ccf /shared/models/users/user-role.ts | |
parent | cf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee (diff) | |
download | PeerTube-4cb6d4578893db310297d7e118ce2fb7ecb952a3.tar.gz PeerTube-4cb6d4578893db310297d7e118ce2fb7ecb952a3.tar.zst PeerTube-4cb6d4578893db310297d7e118ce2fb7ecb952a3.zip |
Add ability to delete comments
Diffstat (limited to 'shared/models/users/user-role.ts')
-rw-r--r-- | shared/models/users/user-role.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/models/users/user-role.ts b/shared/models/users/user-role.ts index cc32c768d..0e75444f8 100644 --- a/shared/models/users/user-role.ts +++ b/shared/models/users/user-role.ts | |||
@@ -23,7 +23,8 @@ const userRoleRights: { [ id: number ]: UserRight[] } = { | |||
23 | UserRight.MANAGE_VIDEO_BLACKLIST, | 23 | UserRight.MANAGE_VIDEO_BLACKLIST, |
24 | UserRight.MANAGE_VIDEO_ABUSES, | 24 | UserRight.MANAGE_VIDEO_ABUSES, |
25 | UserRight.REMOVE_ANY_VIDEO, | 25 | UserRight.REMOVE_ANY_VIDEO, |
26 | UserRight.REMOVE_ANY_VIDEO_CHANNEL | 26 | UserRight.REMOVE_ANY_VIDEO_CHANNEL, |
27 | UserRight.REMOVE_ANY_VIDEO_COMMENT | ||
27 | ], | 28 | ], |
28 | 29 | ||
29 | [UserRole.USER]: [] | 30 | [UserRole.USER]: [] |