From 5d79474cc66383ecbfcef6366f63a34c3af21cbf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Apr 2019 10:56:29 +0200 Subject: Add debug component to help admins to fix IP issues --- client/src/app/+admin/system/system.routes.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'client/src/app/+admin/system/system.routes.ts') diff --git a/client/src/app/+admin/system/system.routes.ts b/client/src/app/+admin/system/system.routes.ts index e6d45b760..2d851794d 100644 --- a/client/src/app/+admin/system/system.routes.ts +++ b/client/src/app/+admin/system/system.routes.ts @@ -4,6 +4,7 @@ import { UserRight } from '../../../../../shared' import { JobsComponent } from '@app/+admin/system/jobs/jobs.component' import { LogsComponent } from '@app/+admin/system/logs' import { SystemComponent } from '@app/+admin/system/system.component' +import { DebugComponent } from '@app/+admin/system/debug' export const SystemRoutes: Routes = [ { @@ -38,6 +39,17 @@ export const SystemRoutes: Routes = [ title: 'Logs' } } + }, + { + path: 'debug', + canActivate: [ UserRightGuard ], + component: DebugComponent, + data: { + meta: { + userRight: UserRight.MANAGE_DEBUG, + title: 'Debug' + } + } } ] } -- cgit v1.2.3