diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-11 10:05:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-11 10:14:08 +0200 |
commit | 2c22613c2fe6f7f9c8c7de66e42be54b27cc7edd (patch) | |
tree | 4692ec7ef34bf418a47624704006e61200e174df /client/src/app/+admin/admin.component.ts | |
parent | fd8710b897a67518d3a61c319e54b6a65ba443ef (diff) | |
download | PeerTube-2c22613c2fe6f7f9c8c7de66e42be54b27cc7edd.tar.gz PeerTube-2c22613c2fe6f7f9c8c7de66e42be54b27cc7edd.tar.zst PeerTube-2c22613c2fe6f7f9c8c7de66e42be54b27cc7edd.zip |
Add logs page in client
Diffstat (limited to 'client/src/app/+admin/admin.component.ts')
-rw-r--r-- | client/src/app/+admin/admin.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/+admin/admin.component.ts b/client/src/app/+admin/admin.component.ts index b4b807c67..fc775a5a4 100644 --- a/client/src/app/+admin/admin.component.ts +++ b/client/src/app/+admin/admin.component.ts | |||
@@ -28,6 +28,10 @@ export class AdminComponent { | |||
28 | return this.auth.getUser().hasRight(UserRight.MANAGE_JOBS) | 28 | return this.auth.getUser().hasRight(UserRight.MANAGE_JOBS) |
29 | } | 29 | } |
30 | 30 | ||
31 | hasLogsRight () { | ||
32 | return this.auth.getUser().hasRight(UserRight.MANAGE_LOGS) | ||
33 | } | ||
34 | |||
31 | hasConfigRight () { | 35 | hasConfigRight () { |
32 | return this.auth.getUser().hasRight(UserRight.MANAGE_CONFIGURATION) | 36 | return this.auth.getUser().hasRight(UserRight.MANAGE_CONFIGURATION) |
33 | } | 37 | } |