Add todos for the implementation plan

This commit is contained in:
Martin Angers 2024-04-02 17:03:58 -04:00
parent 9d63e96f87
commit 1dec23cd08

View file

@ -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