This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Description
Is your feature request related to a problem? Please describe.
Current behavior is that when a Business Unit or Machine Group is deleted, the machines related through their ForeignKeys are also deletede (on_delete=models.CASCADE). This is problematic in some circumstances, as the intent may just be to restructure organizational units, but the result is the dumping of machine records.
Describe the solution you'd like
Options include
- assigning orphaned machines to a builtin default group.
- offering assign to-be-orphaned machines to another (or a new) group as part of the interactive deletion.
- Offering a separate bulk-reassignment menu to be used prior to deletion of a group.
- Adding in a warning dialog regarding the potential data loss prior of machines prior to deletion.
Describe alternatives you've considered
Just continue with the existing behavior.
Additional context
None.