From 1dec23cd0820adef7815a5dd95025ee9f2c79ec0 Mon Sep 17 00:00:00 2001 From: Martin Angers Date: Tue, 2 Apr 2024 17:03:58 -0400 Subject: [PATCH] Add todos for the implementation plan --- ee/server/service/mdm.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ee/server/service/mdm.go b/ee/server/service/mdm.go index 0ef0da203b..7bfc463cab 100644 --- a/ee/server/service/mdm.go +++ b/ee/server/service/mdm.go @@ -1056,6 +1056,12 @@ func (svc *Service) GetMDMDiskEncryptionSummary(ctx context.Context, teamID *uin } func (svc *Service) mdmAppleEditedMacOSUpdates(ctx context.Context, teamID *uint, updates fleet.MacOSUpdates) error { + // TODO: must do the equivalent, more or less, of svc.NewMDMAppleDeclaration + // (avoiding the validation that prevents the declaration type, and without + // the activity as we want to leave this Software Updates profile hidden, + // like an internal implementation detail of how Fleet manages those update + // requirements). + if updates.MinimumVersion.Value == "" { // TODO: OS updates disabled, remove the profile return nil