From a1bbf22de042476d02c2c5653493c2dbab11c4a8 Mon Sep 17 00:00:00 2001 From: Prox Date: Sun, 15 Feb 2026 18:15:54 +0200 Subject: [PATCH] Test deleting group --- config.ts | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/config.ts b/config.ts index 25fb445..95cb9a4 100644 --- a/config.ts +++ b/config.ts @@ -12,7 +12,7 @@ export interface GroupConfig { export interface PolicyRuleConfig { name: string; description?: string; - sources: string[]; // Group names + sources: string[]; // Group names destinations: string[]; // Group names bidirectional?: boolean; protocol?: string; @@ -26,10 +26,10 @@ export interface PolicyConfig { export interface SetupKeyConfig { name: string; - groups: string[]; // Group names + groups: string[]; // Group names type?: "one-off" | "reusable"; expiresInDays?: number; // 0 = never - usageLimit?: number; // 0 = unlimited + usageLimit?: number; // 0 = unlimited } // ============================================================================= @@ -42,9 +42,6 @@ export const groups: GroupConfig[] = [ { name: "pilots", description: "Pilot control stations" }, { name: "operators", description: "Operator workstations" }, { name: "fusion-servers", description: "Data fusion servers" }, - - // New group added via GitOps - { name: "maintenance", description: "Maintenance team devices" }, ]; // ============================================================================= @@ -95,7 +92,7 @@ export const policies: PolicyConfig[] = [ }, ], }, - + // Add new policies below: // { // name: "maintenance-access", @@ -122,8 +119,8 @@ export const setupKeys: SetupKeyConfig[] = [ name: "ground-station-onboarding", groups: ["ground-stations"], type: "reusable", - expiresInDays: 0, // Never expires - usageLimit: 0, // Unlimited + expiresInDays: 0, // Never expires + usageLimit: 0, // Unlimited }, { name: "pilot-onboarding", @@ -132,7 +129,7 @@ export const setupKeys: SetupKeyConfig[] = [ expiresInDays: 30, usageLimit: 0, }, - + // Add new setup keys below: // { // name: "operator-onboarding",