From 8fc59cd86911d6257440e4f5769dfe49dabb442a Mon Sep 17 00:00:00 2001 From: Abhishek K Date: Thu, 6 Nov 2025 21:19:15 +0400 Subject: [PATCH] NM-159: Add Gws HA and device approvals to feature flags (#3722) * force update host dns field if node is acting as inet gw * add old acl support checks * move auto relay migration to pro pkg * add check to avoid unsetting relayed node * simplify auto assign gw logic * send auto assign update on un relay * set checking time to latest on updates * fix HA auto Relay logic * add relay node metrics to peer signal * move auto relay peer check * publish host peer update * check and unset unrelayed auto peers * use relay node mutex to avoid rac condition * reset autorelayed peers on auto assign gw * add device approval, gws HA to feature flags --- models/structs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/structs.go b/models/structs.go index a40c71b4..c1fcbbca 100644 --- a/models/structs.go +++ b/models/structs.go @@ -22,6 +22,8 @@ type FeatureFlags struct { EnableOAuth bool `json:"enable_oauth"` EnableIDPIntegration bool `json:"enable_idp_integration"` AllowMultiServerLicense bool `json:"allow_multi_server_license"` + EnableGwsHA bool `json:"enable_gws_ha"` + EnableDeviceApproval bool `json:"enable_device_approval"` } // AuthParams - struct for auth params