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 --- shared/models/server/debug.model.ts | 3 +++ shared/models/server/index.ts | 1 + shared/models/users/user-right.enum.ts | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 shared/models/server/debug.model.ts (limited to 'shared') diff --git a/shared/models/server/debug.model.ts b/shared/models/server/debug.model.ts new file mode 100644 index 000000000..61cba6518 --- /dev/null +++ b/shared/models/server/debug.model.ts @@ -0,0 +1,3 @@ +export interface Debug { + ip: string +} diff --git a/shared/models/server/index.ts b/shared/models/server/index.ts index c42f6f67f..bf61ab270 100644 --- a/shared/models/server/index.ts +++ b/shared/models/server/index.ts @@ -1,6 +1,7 @@ export * from './about.model' export * from './contact-form.model' export * from './custom-config.model' +export * from './debug.model' export * from './job.model' export * from './server-config.model' export * from './server-stats.model' diff --git a/shared/models/users/user-right.enum.ts b/shared/models/users/user-right.enum.ts index 5ec255ea5..71701bdb4 100644 --- a/shared/models/users/user-right.enum.ts +++ b/shared/models/users/user-right.enum.ts @@ -7,6 +7,8 @@ export enum UserRight { MANAGE_LOGS, + MANAGE_DEBUG, + MANAGE_SERVER_REDUNDANCY, MANAGE_VIDEO_ABUSES, -- cgit v1.2.3