-
Notifications
You must be signed in to change notification settings - Fork 898
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
Retirement - remove auto_approve flag on request creation. #18638
Conversation
request before the Automate auto approval state machine. Removing the auto_approve flag allows users to change the approval type in Automate.
Checked commit tinaafitz@b035ee4 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@miq-bot add_label bug, hammer/yes |
@d-m-u @gmcculloug Please review. |
I think there's a test for orch_stacks that maybe needs updating? |
@d-m-u There is a spec test for orch stacks retirement, but it doesn't check for the auto-approve parameter. |
Retirement - remove auto_approve flag on request creation. (cherry picked from commit 0d66d43) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1702075
Hammer backport details:
|
Make_retire_request was setting auto_approve to true which approves the request before the Automate auto approval state machine. Removing the auto_approve flag allows users to change the approval type in Automate.
Before the Retirement as a request enhancement, users would be able to stop/delay retirement by modifying the Automate state machine. In order to stop/delay Retirement with retirement as a request, users will need to be able to prevent the request from being approved, either by denying it, or setting the approval type to manual. The code change in this PR will give them the ability to do that.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1697600