aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/admin.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+admin/admin.component.ts')
-rw-r--r--client/src/app/+admin/admin.component.ts12
1 files changed, 8 insertions, 4 deletions
diff --git a/client/src/app/+admin/admin.component.ts b/client/src/app/+admin/admin.component.ts
index fc775a5a4..408de4837 100644
--- a/client/src/app/+admin/admin.component.ts
+++ b/client/src/app/+admin/admin.component.ts
@@ -24,15 +24,19 @@ export class AdminComponent {
24 return this.auth.getUser().hasRight(UserRight.MANAGE_VIDEO_BLACKLIST) 24 return this.auth.getUser().hasRight(UserRight.MANAGE_VIDEO_BLACKLIST)
25 } 25 }
26 26
27 hasJobsRight () { 27 hasConfigRight () {
28 return this.auth.getUser().hasRight(UserRight.MANAGE_JOBS) 28 return this.auth.getUser().hasRight(UserRight.MANAGE_CONFIGURATION)
29 } 29 }
30 30
31 hasLogsRight () { 31 hasLogsRight () {
32 return this.auth.getUser().hasRight(UserRight.MANAGE_LOGS) 32 return this.auth.getUser().hasRight(UserRight.MANAGE_LOGS)
33 } 33 }
34 34
35 hasConfigRight () { 35 hasJobsRight () {
36 return this.auth.getUser().hasRight(UserRight.MANAGE_CONFIGURATION) 36 return this.auth.getUser().hasRight(UserRight.MANAGE_JOBS)
37 }
38
39 hasDebugRight () {
40 return this.auth.getUser().hasRight(UserRight.MANAGE_DEBUG)
37 } 41 }
38} 42}