chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Central Management - No Way to Delete Archived Deployments #236

Open ryanrichter94 opened 3 years ago

ryanrichter94 commented 3 years ago

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

gep13 commented 3 years ago

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

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.