Designate an exception to gracefully abort under create/edit/delete views #9075
Labels
status: accepted
This issue has been accepted for implementation
topic: plugins
Relates to the plugins framework
type: feature
Introduction of new functionality to the application
Milestone
NetBox version
v3.2.0
Feature type
New functionality
Proposed functionality
The ultimate goal of this proposal is to support the following workflow:
pre_save
orpre_delete
signal is emitted and caught by a receiver interested in the objectAbortAction
exception (actual name TBD)AbortAction
and returns gracefully without completing the actionThere are some implementation details still to iron out, but this should generally parallel the flow we have in place today to enforce permission constraints.
Use case
This will allow a plugin to participate in the standard CRUD workflows and disrupt them where necessary (e.g. to enforce supplementary validation) and abort the gracefully.
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: