Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validators on deletion #10738

Closed
Maxime-Parolini opened this issue Oct 25, 2022 · 2 comments
Closed

validators on deletion #10738

Maxime-Parolini opened this issue Oct 25, 2022 · 2 comments
Labels
type: feature Introduction of new functionality to the application

Comments

@Maxime-Parolini
Copy link

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

@Maxime-Parolini Maxime-Parolini added the type: feature Introduction of new functionality to the application label Oct 25, 2022
@atownson
Copy link
Contributor

Related to #10244

@kkthxbye-code
Copy link
Contributor

I think this is actually just a duplicate of #10244

@kkthxbye-code kkthxbye-code closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants