diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-20 16:24:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 16:24:31 +0200 |
commit | 0491173a61aed66205c017e0d7e0503ea316c144 (patch) | |
tree | ce6621597505f9518cfdf0981977d097c63f9fad /client/src/app/menu | |
parent | 8704acf49efc770d73bf07c10468ed8c74d28a83 (diff) | |
parent | 6247b2057b792cea155a1abd9788c363ae7d2cc2 (diff) | |
download | PeerTube-0491173a61aed66205c017e0d7e0503ea316c144.tar.gz PeerTube-0491173a61aed66205c017e0d7e0503ea316c144.tar.zst PeerTube-0491173a61aed66205c017e0d7e0503ea316c144.zip |
Merge branch 'develop' into cli-wrapper
Diffstat (limited to 'client/src/app/menu')
-rw-r--r-- | client/src/app/menu/menu.component.ts | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/client/src/app/menu/menu.component.ts b/client/src/app/menu/menu.component.ts index 24cd5aa28..f13ecc2c7 100644 --- a/client/src/app/menu/menu.component.ts +++ b/client/src/app/menu/menu.component.ts | |||
@@ -19,8 +19,10 @@ export class MenuComponent implements OnInit { | |||
19 | private routesPerRight = { | 19 | private routesPerRight = { |
20 | [UserRight.MANAGE_USERS]: '/admin/users', | 20 | [UserRight.MANAGE_USERS]: '/admin/users', |
21 | [UserRight.MANAGE_SERVER_FOLLOW]: '/admin/friends', | 21 | [UserRight.MANAGE_SERVER_FOLLOW]: '/admin/friends', |
22 | [UserRight.MANAGE_VIDEO_ABUSES]: '/admin/video-abuses', | 22 | [UserRight.MANAGE_VIDEO_ABUSES]: '/admin/moderation/video-abuses', |
23 | [UserRight.MANAGE_VIDEO_BLACKLIST]: '/admin/video-blacklist' | 23 | [UserRight.MANAGE_VIDEO_BLACKLIST]: '/admin/moderation/video-blacklist', |
24 | [UserRight.MANAGE_JOBS]: '/admin/jobs', | ||
25 | [UserRight.MANAGE_CONFIGURATION]: '/admin/config' | ||
24 | } | 26 | } |
25 | 27 | ||
26 | constructor ( | 28 | constructor ( |
@@ -67,7 +69,9 @@ export class MenuComponent implements OnInit { | |||
67 | UserRight.MANAGE_USERS, | 69 | UserRight.MANAGE_USERS, |
68 | UserRight.MANAGE_SERVER_FOLLOW, | 70 | UserRight.MANAGE_SERVER_FOLLOW, |
69 | UserRight.MANAGE_VIDEO_ABUSES, | 71 | UserRight.MANAGE_VIDEO_ABUSES, |
70 | UserRight.MANAGE_VIDEO_BLACKLIST | 72 | UserRight.MANAGE_VIDEO_BLACKLIST, |
73 | UserRight.MANAGE_JOBS, | ||
74 | UserRight.MANAGE_CONFIGURATION | ||
71 | ] | 75 | ] |
72 | 76 | ||
73 | for (const adminRight of adminRights) { | 77 | for (const adminRight of adminRights) { |