Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDM: set declarations as pending as soon as they're uploaded #17685

Closed
4 tasks
roperzh opened this issue Mar 18, 2024 · 1 comment
Closed
4 tasks

DDM: set declarations as pending as soon as they're uploaded #17685

roperzh opened this issue Mar 18, 2024 · 1 comment
Assignees
Labels
~backend Backend-related issue. #g-mdm MDM product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~sub-task A technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Milestone

Comments

@roperzh
Copy link
Member

roperzh commented Mar 18, 2024

Similarly to what happens to profiles, we need to display the declarations as "pending" in the UI in response to various events:

  • declaration uploaded or deleted via the UI
  • declaration uploaded, deleted or edited via the CLI
  • host transferred to a different team
  • bulk transfer of hosts to a different team (separate endpoint)

Check all the instances of this function to make sure all necessary places are covered:

func (ds *Datastore) BulkSetPendingMDMHostProfiles(
ctx context.Context,
hostIDs, teamIDs []uint,
profileUUIDs, hostUUIDs []string,
) error {

@roperzh roperzh added #g-mdm MDM product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~sub-task A technical sub-task that is part of a story. (Not QA'd. Not estimated.) ~backend Backend-related issue. labels Mar 18, 2024
@roperzh roperzh self-assigned this Mar 25, 2024
@georgekarrv georgekarrv added this to the 4.48.0 milestone Apr 2, 2024
@fleet-release
Copy link
Contributor

Declarations pend,
Swift as a cloud's shadow,
Teams adapt, secure blend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
~backend Backend-related issue. #g-mdm MDM product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~sub-task A technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Development

No branches or pull requests

4 participants