diff options
Diffstat (limited to 'shared/models/users')
-rw-r--r-- | shared/models/users/user-right.enum.ts | 3 | ||||
-rw-r--r-- | shared/models/users/user-role.ts | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/shared/models/users/user-right.enum.ts b/shared/models/users/user-right.enum.ts index 238e38a36..2e7fa1bcf 100644 --- a/shared/models/users/user-right.enum.ts +++ b/shared/models/users/user-right.enum.ts | |||
@@ -6,5 +6,6 @@ export enum UserRight { | |||
6 | MANAGE_VIDEO_BLACKLIST, | 6 | MANAGE_VIDEO_BLACKLIST, |
7 | MANAGE_JOBS, | 7 | MANAGE_JOBS, |
8 | REMOVE_ANY_VIDEO, | 8 | REMOVE_ANY_VIDEO, |
9 | REMOVE_ANY_VIDEO_CHANNEL | 9 | REMOVE_ANY_VIDEO_CHANNEL, |
10 | REMOVE_ANY_VIDEO_COMMENT | ||
10 | } | 11 | } |
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]: [] |