diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-14 10:22:10 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-14 10:22:10 +0100 |
commit | bf12db2497689cb3fcf648ef6fc07a699d1b20d8 (patch) | |
tree | ebad8206d3ccc53bab36b091d85f2f998ae49f86 /client/src/app | |
parent | 9b69bfc076a5d867fbf5142f31840407d5a7aeae (diff) | |
download | PeerTube-bf12db2497689cb3fcf648ef6fc07a699d1b20d8.tar.gz PeerTube-bf12db2497689cb3fcf648ef6fc07a699d1b20d8.tar.zst PeerTube-bf12db2497689cb3fcf648ef6fc07a699d1b20d8.zip |
Fix moderators that cannot access the muted servers table
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/+admin/moderation/moderation.routes.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+admin/moderation/moderation.routes.ts b/client/src/app/+admin/moderation/moderation.routes.ts index bc6dd49d5..6f6dde290 100644 --- a/client/src/app/+admin/moderation/moderation.routes.ts +++ b/client/src/app/+admin/moderation/moderation.routes.ts | |||
@@ -64,7 +64,7 @@ export const ModerationRoutes: Routes = [ | |||
64 | component: InstanceServerBlocklistComponent, | 64 | component: InstanceServerBlocklistComponent, |
65 | canActivate: [ UserRightGuard ], | 65 | canActivate: [ UserRightGuard ], |
66 | data: { | 66 | data: { |
67 | userRight: UserRight.MANAGE_SERVER_REDUNDANCY, | 67 | userRight: UserRight.MANAGE_SERVERS_BLOCKLIST, |
68 | meta: { | 68 | meta: { |
69 | title: 'Muted instances' | 69 | title: 'Muted instances' |
70 | } | 70 | } |