Bug 1526218

Summary: [RFE] Add RBAC and Tagging Support to Ansible Playbooks
Product: Red Hat CloudForms Management Engine Reporter: John Hardy <jhardy>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Kotvan <pakotvan>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, dmisharo, gblomqui, hkataria, jfrey, jhardy, lavenel, mpovolny, obarenbo, pakotvan
Target Milestone: GAKeywords: FutureFeature, TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1553768 (view as bug list) Environment:
Last Closed: 2019-02-11 14:02:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1553768    

Description John Hardy 2017-12-15 02:28:32 UTC
[RFE] Add RBAC and Tagging Support to Ansible Repos.

As a user I should only be able to view Playbooks that have been enabled for my user permissions.

Comment 3 CFME Bot 2018-02-27 19:57:11 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/8ab4bbf478c5e0527153eb902ca12b5cdb4336e0

commit 8ab4bbf478c5e0527153eb902ca12b5cdb4336e0
Author:     James Wong <jwong>
AuthorDate: Mon Feb 26 11:39:30 2018 -0500
Commit:     James Wong <jwong>
CommitDate: Mon Feb 26 11:39:44 2018 -0500

    Taggable of AutomationManager's authentications/playbooks/repos
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1526219
    https://bugzilla.redhat.com/show_bug.cgi?id=1526218
    https://bugzilla.redhat.com/show_bug.cgi?id=1526217

 app/models/manageiq/providers/automation_manager/authentication.rb       | 1 +
 .../providers/automation_manager/configuration_script_payload.rb         | 1 +
 .../manageiq/providers/automation_manager/configuration_script_source.rb | 1 +
 3 files changed, 3 insertions(+)

Comment 4 James Wong 2018-02-27 20:01:05 UTC
Backend is done. Assigning to UI team...

Comment 5 Hilda Stastna 2018-03-05 21:03:21 UTC
This is still work in progress, probably will need to add toolbar to the screen. More info will be added in the next days.

Comment 8 Hilda Stastna 2018-03-07 13:52:16 UTC
Update: Adding RBAC and Tagging Support to Ansible Playbooks done (PR created), now just waiting for review of the changes.

Comment 10 CFME Bot 2018-03-12 19:43:00 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/3d2b0cc68771b6e9f5e2075d0eaaaf552e1fb240
commit 3d2b0cc68771b6e9f5e2075d0eaaaf552e1fb240
Author:     Hilda Stastna <hstastna>
AuthorDate: Tue Mar  6 15:21:59 2018 -0500
Commit:     Hilda Stastna <hstastna>
CommitDate: Tue Mar  6 15:21:59 2018 -0500

    Add tagging feature for Ansible Playbooks

    https://bugzilla.redhat.com/show_bug.cgi?id=1526218

 db/fixtures/miq_product_features.yml | 4 +
 1 file changed, 4 insertions(+)

Comment 11 CFME Bot 2018-03-12 20:57:37 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/483f3be18709b480b0a2d9373ad67fac031bac2e
commit 483f3be18709b480b0a2d9373ad67fac031bac2e
Author:     Hilda Stastna <hstastna>
AuthorDate: Wed Mar  7 06:05:57 2018 -0500
Commit:     Hilda Stastna <hstastna>
CommitDate: Wed Mar  7 06:05:57 2018 -0500

    Add Policy button to enable tagging in Ansible Playbooks

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1526218

    Add toolbar and Policy button to enable tagging in Automation > Ansible > Playbooks.

 app/controllers/ansible_playbook_controller.rb | 1 +
 app/helpers/application_helper/toolbar/ansible_playbooks_center.rb | 24 +
 2 files changed, 25 insertions(+)