-
Notifications
You must be signed in to change notification settings - Fork 263
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
JobHook Requiring Approval Executes without Approval #3440
Comments
If it's much more than adding some logic here: nautobot/nautobot/extras/jobs.py Line 1369 in 911af92
nautobot/nautobot/extras/views.py Lines 1160 to 1211 in 911af92
|
I have asserted that at this time this is working as intended because we never implemented approval support for Job Hooks and doing so in the tail end of the 1.5 release train is more work than it is worth. So for now we will document that this is working as intended and that setting We will, however, fix this in Nautbot v2 as we work to bring everything to center as a part of the jobs overhaul work. We’ll be solving it all in one place (around the REST API), so what is now currently three code paths (UI, API, signals) should all be reduced down to one. |
Environment
Steps to Reproduce
Create a Job with class JobHookReceiver and the following Meta
commit_default = False
approval_required = True
has_sensitive_variables = False
Create Job hook for dcim|device with a Call on Update
Update an existing object in dcim|device
Expected Behavior
When updating an existing dcim|device object the expectation is that before executing the job it would be placed into the approval queue
Observed Behavior
Jobs are executed without any approval when dcim|device is updated
The text was updated successfully, but these errors were encountered: