Repository navigation
feat: end a Deploy App in its MDM once its deployment is over - #3
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Removing a Deploy App can now end it in the MDM too: the MDM takes that Deploy App's certificate off the group's phones, and the group, its phones, their names and their apps stay for the next Deploy App. In Fleet this deletes the team's certificate template and then its certificate authority, unless another team's template still uses it.
endis a new, optional part of the MDM contract; a plugin made before it is recognised and never called.Tested by the suite (742 tests, 98 % coverage) and against a live Fleet 4.90.1 on a team without phones: the template deleted, an authority in use kept, an unused one deleted, a second call with nothing left, and a team bound to another address left alone.
User-Facing Changes
End a Deploy App in your MDM when its deployment is over
In the Remove dialog, tick Also end it in Fleet (the line shows your MDM's name) and press End and remove: the phones lose that Deploy App's certificate and stay in your MDM with their names and apps, ready for the next Deploy App. It cannot be undone. On the command line:
odmdm-connector end --yes.Anything Else You'd Like to Mention
Merging releases
v1.7.0+261123. Not tried on a phone: that a phone drops the certificate rests on Fleet's own delete dialog and on an earlier replaced template.