This commit is contained in:
13
config.ts
13
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" },
|
||||
];
|
||||
|
||||
// =============================================================================
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user