From fd206f0b2d7e5c8e00e2817266d90ec54f79e1da Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 17 Jan 2018 10:32:03 +0100 Subject: Add ability to update some configuration keys --- client/src/app/+admin/admin.component.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/src/app/+admin/admin.component.ts') diff --git a/client/src/app/+admin/admin.component.ts b/client/src/app/+admin/admin.component.ts index 75cd50cc7..1a4dd6786 100644 --- a/client/src/app/+admin/admin.component.ts +++ b/client/src/app/+admin/admin.component.ts @@ -28,4 +28,8 @@ export class AdminComponent { hasJobsRight () { return this.auth.getUser().hasRight(UserRight.MANAGE_JOBS) } + + hasConfigRight () { + return this.auth.getUser().hasRight(UserRight.MANAGE_CONFIGURATION) + } } -- cgit v1.2.3