chocolatey-licensed-issues icon indicating copy to clipboard operation
chocolatey-licensed-issues copied to clipboard

Central Management - No Way to Delete Archived Deployments

Open ryanrichter94 opened this issue 3 years ago • 1 comments

What You Are Seeing?

Currently there is no way to delete a deployment that has been archived within CCM.

Current WorkAround

The only way to get around this is to manually update the record in the CCM DB. This can be done within the dbo.DeploymentSteps Table and updating the IsArchived field for the deployment to 0. Doing this will manually take the deployment out of the archive making it available for deletion.

Requested Enhancement

Can there be an actions column added to the Archived Deployments page that presents a delete option. Thus providing a graphical way of deleting archived deployments. Having this option available through the CCM API would be very useful as well.

References

┆Issue is synchronized with this Gitlab issue by Unito

ryanrichter94 avatar Jul 23 '21 14:07 ryanrichter94

In the current version of CCM, a deployment is only allowed to be deleted when it is in one of the following states:

  • Draft
  • Pending
  • Ready

In any other state, by design, the only option is to mark the deployment as archived, which removes it from the main deployment page.

Sounds like there is an additional use case for allowing the deletion of an archived deployment.

gep13 avatar Aug 04 '21 06:08 gep13