Removes --disable-advanced-settings

It was a typo in our meetings. the actual thing is --disable-update-settings
This commit is contained in:
riccardom
2026-06-08 18:06:02 +02:00
parent e55b64f2f7
commit 04998f6a1c
2 changed files with 0 additions and 12 deletions
-10
View File
@@ -1702,16 +1702,6 @@ func (s *Server) GetFeatures(ctx context.Context, msg *proto.GetFeaturesRequest)
DisableNetworks: s.checkNetworksDisabled(),
}
// MDM kill switch: read the value from the active policy on the
// in-memory Config snapshot. Returns false on an absent key, so the
// feature flag is only "true" when the admin has explicitly pushed
// disableAdvancedSettings=true via the platform MDM channel.
if s.config != nil {
if v, ok := s.config.Policy().GetBool(mdm.KeyDisableAdvancedSettings); ok {
features.DisableAdvancedSettings = v
}
}
return features, nil
}