Bug 1526217

Summary: [RFE] Add RBAC and Tagging Support to Ansible Repos
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, gblomqui, hkataria, jfrey, jhardy, lavenel, mpovolny, obarenbo, pakotvan, sbulage
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:
: 1553396 (view as bug list) Environment:
Last Closed: 2019-02-11 14:00:40 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: 1553396, 1590060    

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

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

Comment 3 CFME Bot 2018-02-27 19:57:15 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:00:38 UTC
Backend is done. Assigning to UI team...

Comment 6 Hilda Stastna 2018-03-05 21:01:46 UTC
Note: tagging already works, but only from the screen with list of the repos

Comment 8 Hilda Stastna 2018-03-06 13:50:21 UTC
Update: RBAC did not work for Ansible Repos, Libor fixed that: https://github.com/ManageIQ/manageiq/pull/17091

Comment 9 CFME Bot 2018-03-06 19:21:07 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/b78f78f2450824e0de5acad0d6c6334105d4c3a1
commit b78f78f2450824e0de5acad0d6c6334105d4c3a1
Author:     Hilda Stastna <hstastna>
AuthorDate: Mon Mar  5 15:31:29 2018 -0500
Commit:     Hilda Stastna <hstastna>
CommitDate: Mon Mar  5 15:31:29 2018 -0500

    Add tagging feature for Ansible Repositories

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

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

Comment 10 CFME Bot 2018-03-07 15:52:34 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/8fce5f1fa1522a83caa49a4c4e4060c3eeb13f90
commit 8fce5f1fa1522a83caa49a4c4e4060c3eeb13f90
Author:     Hilda Stastna <hstastna>
AuthorDate: Mon Mar  5 15:44:03 2018 -0500
Commit:     Hilda Stastna <hstastna>
CommitDate: Mon Mar  5 15:44:03 2018 -0500

    Add Policy button to enable tagging in Ansible Repositories

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

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

 app/helpers/application_helper/toolbar/ansible_repositories_center.rb | 22 +
 1 file changed, 22 insertions(+)

Comment 12 Satoe Imaishi 2018-06-12 18:56:46 UTC
*** Bug 1531629 has been marked as a duplicate of this bug. ***