1 import { Component } from '@angular/core'
2 import { UserRight } from '@shared/models'
3 import { AuthService } from '@app/core'
6 templateUrl: './system.component.html',
7 styleUrls: [ './system.component.scss' ]
9 export class SystemComponent {
11 constructor (private auth: AuthService) {}
14 return this.auth.getUser().hasRight(UserRight.MANAGE_LOGS)
18 return this.auth.getUser().hasRight(UserRight.MANAGE_JOBS)
22 return this.auth.getUser().hasRight(UserRight.MANAGE_DEBUG)