munki / mwa2

Version 2 of MunkiWebAdmin
Other
156 stars 37 forks source link

Deleting a pkginfo item -- associated pkg is not checked for other references #14

Closed gregneagle closed 8 years ago

gregneagle commented 8 years ago

When you delete a pkginfo item you are asked if you also want to delete the referenced pkg (installer_item). But mwa2 does not check if other pkginfo items also reference the same installer_item, which could lead to badness.

mwa2 should check for other references to the installer_item and not offer to delete the installer_item unless the pkginfo item to be deleted has the only reference.