Enhance delete message #6050

Closed
opened 2025-12-29 19:36:04 +01:00 by adam · 5 comments
Owner

Originally created by @PieterL75 on GitHub (Feb 4, 2022).

NetBox version

v3.1.6

Feature type

Change to existing functionality

Proposed functionality

The message showing when deleting something, is pretty simple :
image

It would benefit to make this message more detailed and include what is being deleted.
If the deletion includes other objects to be deleted, then that should be included (like an IP is deleted when a device is deleted; interfaces are deleted when a devicemodule is deleted)

Use case

Adding more details will prevent accidental deletions

Database changes

None

External dependencies

No response

Originally created by @PieterL75 on GitHub (Feb 4, 2022). ### NetBox version v3.1.6 ### Feature type Change to existing functionality ### Proposed functionality The message showing when deleting something, is pretty simple : ![image](https://user-images.githubusercontent.com/74899468/152535101-28b1c2c0-1e15-48ec-b3de-28743fd85304.png) It would benefit to make this message more detailed and include what is being deleted. If the deletion includes other objects to be deleted, then that should be included (like an IP is deleted when a device is deleted; interfaces are deleted when a devicemodule is deleted) ### Use case Adding more details will prevent accidental deletions ### Database changes None ### External dependencies _No response_
adam added the type: featurestatus: needs ownerpending closure labels 2025-12-29 19:36:04 +01:00
adam closed this issue 2025-12-29 19:36:04 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 7, 2022):

Adding more details will prevent accidental deletion of cables

What makes cables different from any other object in this respect?

@jeremystretch commented on GitHub (Feb 7, 2022): > Adding more details will prevent accidental deletion of cables What makes cables different from any other object in this respect?
Author
Owner

@PieterL75 commented on GitHub (Feb 7, 2022):

Maybe increasing the scope to all delete messages ?
We do have quite some 'accidental' deletes, because the messages are pretty simple.

I catched the toughest ones by removing the delete rights (devices, prefixes, vlangroups, ...)
But I guess everyone would benefit from being able to review what they will delete in a glance.
Also the inherited deletions (Like IP addresses when deleting a device) would be very nice too see

@PieterL75 commented on GitHub (Feb 7, 2022): Maybe increasing the scope to all delete messages ? We do have quite some 'accidental' deletes, because the messages are pretty simple. I catched the toughest ones by removing the delete rights (devices, prefixes, vlangroups, ...) But I guess everyone would benefit from being able to review what they will delete in a glance. Also the inherited deletions (Like IP addresses when deleting a device) would be very nice too see
Author
Owner

@PieterL75 commented on GitHub (Mar 10, 2022):

I changed the scope of the FR to all delete messages rather then only the 'cable' delete message

@PieterL75 commented on GitHub (Mar 10, 2022): I changed the scope of the FR to all delete messages rather then only the 'cable' delete message
Author
Owner

@github-actions[bot] commented on GitHub (May 30, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (May 30, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Jun 29, 2022):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Jun 29, 2022): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6050