Update error message for OS updates declaration profile

- In Fleet 4.48, we'll ship ""
- OS updates w/ DDM will ship in 4.49
- Update error message to let user know OS updates w/ DDM are coming soon.
- In the Figma wireframes here for () add designs for new error message copy.
This commit is contained in:
Noah Talerman 2024-03-29 16:44:36 -04:00 committed by GitHub
parent 8f1f1b7eb9
commit 9217625387
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -597,7 +597,7 @@ func (r *MDMAppleRawDeclaration) ValidateUserProvided() error {
// Check against types we don't allow
if r.Type == `com.apple.configuration.softwareupdate.enforcement.specific` {
return NewInvalidArgumentError(r.Type, "Declaration profile cant include OS updates settings. To control these settings, go to OS updates.")
return NewInvalidArgumentError(r.Type, "Declaration profile cant include OS updates settings. OS updates coming soon!")
}
if _, forbidden := ForbiddenDeclTypes[r.Type]; forbidden {