validators on deletion #7156

Closed
opened 2025-12-29 20:19:55 +01:00 by adam · 2 comments
Owner

Originally created by @Maxime-Parolini on GitHub (Oct 25, 2022).

NetBox version

v3.2.9-dev

Feature type

Change to existing functionality

Proposed functionality

Validators currently run when an object is created or modified, but not deleted. We propose that validators also run on object deletion

Use case

My use case is the notification of external services upon deletion (as well as creation/modification). The use of validators as opposed to webhooks allows us to refuse the action if the notification did not work properly.

Database changes

No response

External dependencies

no new dependencies, this is possible to achieve already within the jango framework

Originally created by @Maxime-Parolini on GitHub (Oct 25, 2022). ### NetBox version v3.2.9-dev ### Feature type Change to existing functionality ### Proposed functionality Validators currently run when an object is created or modified, but not deleted. We propose that validators also run on object deletion ### Use case My use case is the notification of external services upon deletion (as well as creation/modification). The use of validators as opposed to webhooks allows us to refuse the action if the notification did not work properly. ### Database changes _No response_ ### External dependencies no new dependencies, this is possible to achieve already within the jango framework
adam added the type: feature label 2025-12-29 20:19:55 +01:00
adam closed this issue 2025-12-29 20:19:55 +01:00
Author
Owner

@atownson commented on GitHub (Oct 26, 2022):

Related to #10244

@atownson commented on GitHub (Oct 26, 2022): Related to #10244
Author
Owner

@kkthxbye-code commented on GitHub (Nov 1, 2022):

I think this is actually just a duplicate of #10244

@kkthxbye-code commented on GitHub (Nov 1, 2022): I think this is actually just a duplicate of #10244
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7156