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 | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/shared/models/users/user-right.enum.ts b/shared/models/users/user-right.enum.ts index ed2c536ce..51c59d20a 100644 --- a/shared/models/users/user-right.enum.ts +++ b/shared/models/users/user-right.enum.ts | |||
@@ -8,6 +8,9 @@ export enum UserRight { | |||
8 | MANAGE_JOBS, | 8 | MANAGE_JOBS, |
9 | MANAGE_CONFIGURATION, | 9 | MANAGE_CONFIGURATION, |
10 | 10 | ||
11 | MANAGE_ACCOUNTS_BLOCKLIST, | ||
12 | MANAGE_SERVERS_BLOCKLIST, | ||
13 | |||
11 | MANAGE_VIDEO_BLACKLIST, | 14 | MANAGE_VIDEO_BLACKLIST, |
12 | 15 | ||
13 | REMOVE_ANY_VIDEO, | 16 | REMOVE_ANY_VIDEO, |
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]: [] |