1 import { Routes } from '@angular/router'
2 import { UserRightGuard } from '@app/core'
3 import { UserRight } from '@shared/models'
4 import { DebugComponent } from './debug'
5 import { JobsComponent } from './jobs/jobs.component'
6 import { LogsComponent } from './logs'
8 export const SystemRoutes: Routes = [
19 canActivate: [ UserRightGuard ],
20 component: JobsComponent,
23 userRight: UserRight.MANAGE_JOBS,
24 title: $localize`Jobs`
30 canActivate: [ UserRightGuard ],
31 component: LogsComponent,
34 userRight: UserRight.MANAGE_LOGS,
35 title: $localize`Logs`
41 canActivate: [ UserRightGuard ],
42 component: DebugComponent,
45 userRight: UserRight.MANAGE_DEBUG,
46 title: $localize`Debug`