Bug 1445377

Summary: [Ansible Embedded] - Privilege escalation for playbook does not work
Product: Red Hat CloudForms Management Engine Reporter: Pavol Kotvan <pakotvan>
Component: AutomateAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Kotvan <pakotvan>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: bilwei, cpelland, jfrey, jhardy, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ansible_embed
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1447086 (view as bug list) Environment:
Last Closed: 2018-03-06 14:52:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Ansible Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1447086    

Comment 4 CFME Bot 2017-04-28 14:56:42 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3bbbaaf846986eae0e517284a4e3bee3ad2f0fe9

commit 3bbbaaf846986eae0e517284a4e3bee3ad2f0fe9
Author:     Bill Wei <bilwei>
AuthorDate: Thu Apr 27 11:41:53 2017 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Thu Apr 27 11:55:17 2017 -0400

    Accept option :become_enabled for creating job template
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1445377

 app/models/service_template_ansible_playbook.rb       | 2 +-
 spec/models/service_template_ansible_playbook_spec.rb | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

Comment 5 Bill Wei 2017-04-28 14:59:14 UTC
reassign to Harpreet for the remaining UI work.

Comment 6 Harpreet Kataria 2017-05-01 14:15:13 UTC
UI work in https://github.com/ManageIQ/manageiq-ui-classic/pull/1207

Comment 7 CFME Bot 2017-05-01 16:23:10 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/7523a3a6dbe4846b8792a3e154661bc4dc83c6f0

commit 7523a3a6dbe4846b8792a3e154661bc4dc83c6f0
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Apr 28 10:24:36 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon May 1 11:32:33 2017 -0400

    Added "Escalate Privilege" checkbox
    
    Added "Escalate Privilege" checkbox switch on both Provisioning & Retirement tabs in form and on Summary screen to display the selected values. Default value for the new checkbox is false.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1445377

 .../controllers/catalog/catalog_item_form_controller.js   | 15 ++++++++++++++-
 app/controllers/catalog_controller.rb                     |  2 ++
 app/views/catalog/_sandt_tree_show.html.haml              | 10 ++++++++++
 .../angular/_ansible_form_options_angular.html.haml       | 13 ++++++++++++-
 spec/controllers/catalog_controller_spec.rb               | 12 ++++++++----
 .../catalog/catalog_item_form_controller_spec.js          |  1 +
 6 files changed, 47 insertions(+), 6 deletions(-)