This commit is contained in:
13
config.ts
13
config.ts
@@ -12,7 +12,7 @@ export interface GroupConfig {
|
|||||||
export interface PolicyRuleConfig {
|
export interface PolicyRuleConfig {
|
||||||
name: string;
|
name: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
sources: string[]; // Group names
|
sources: string[]; // Group names
|
||||||
destinations: string[]; // Group names
|
destinations: string[]; // Group names
|
||||||
bidirectional?: boolean;
|
bidirectional?: boolean;
|
||||||
protocol?: string;
|
protocol?: string;
|
||||||
@@ -26,10 +26,10 @@ export interface PolicyConfig {
|
|||||||
|
|
||||||
export interface SetupKeyConfig {
|
export interface SetupKeyConfig {
|
||||||
name: string;
|
name: string;
|
||||||
groups: string[]; // Group names
|
groups: string[]; // Group names
|
||||||
type?: "one-off" | "reusable";
|
type?: "one-off" | "reusable";
|
||||||
expiresInDays?: number; // 0 = never
|
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: "pilots", description: "Pilot control stations" },
|
||||||
{ name: "operators", description: "Operator workstations" },
|
{ name: "operators", description: "Operator workstations" },
|
||||||
{ name: "fusion-servers", description: "Data fusion servers" },
|
{ 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",
|
name: "ground-station-onboarding",
|
||||||
groups: ["ground-stations"],
|
groups: ["ground-stations"],
|
||||||
type: "reusable",
|
type: "reusable",
|
||||||
expiresInDays: 0, // Never expires
|
expiresInDays: 0, // Never expires
|
||||||
usageLimit: 0, // Unlimited
|
usageLimit: 0, // Unlimited
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "pilot-onboarding",
|
name: "pilot-onboarding",
|
||||||
|
|||||||
Reference in New Issue
Block a user