salopensource / sal

Modular reporting for Endpoints
Apache License 2.0
212 stars 64 forks source link

Devise a better way to handle machines when Business Units or Machine Groups are deleted #306

Open sheagcraig opened 5 years ago

sheagcraig commented 5 years ago

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

Describe alternatives you've considered Just continue with the existing behavior.

Additional context None.