Bug 1404837

Summary: Cannot approve an automation request in a 'Pending Approval' state
Product: Red Hat CloudForms Management Engine Reporter: Peter McGowan <pmcgowan>
Component: UI - OPSAssignee: Zita Nemeckova <znemecko>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: hkataria, jhardy, mkanoor, mpovolny, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1428579 (view as bug list) Environment:
Last Closed: 2017-06-12 17:08:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1428579    

Description Peter McGowan 2016-12-14 19:06:38 UTC
Description of problem:
If I submit an automation request that is set to auto_approve => false, there is no way of approving this request.

Version-Release number of selected component (if applicable):
5.7.0.16.20161213213754_1ad3545

How reproducible:
Every time

Steps to Reproduce:
1. Create an automation request either from an automate method using $evm.execute('create_automation_request',...), or from an API call. Specify auto_approve => false with the call.
2. As admin, observe the request in the WebUI Automate -> Requests page in a 'Pending Approval' state
3. Observe that there is no way to approve the request

Actual results:
There is no approval button

Expected results:
There should be a button to approve the request

Additional info:
This looks like it was fixed for CFME 5.6 in https://bugzilla.redhat.com/show_bug.cgi?id=1229818 but seems to be a regression for 5.7

Comment 5 Shveta 2017-04-27 22:43:48 UTC
Fixed.
Verified in 5.8.0.12-rc1.20170425180304_4f35996