Bug 1641905

Summary: [RFE] RBAC change group ownership of service catalog item
Product: Red Hat CloudForms Management Engine Reporter: Gellert Kis <gekis>
Component: ApplianceAssignee: Roman Blanco <rblanco>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.4CC: abellott, gekis, jocarter, lavenel, nansari, obarenbo, simaishi
Target Milestone: GAKeywords: FutureFeature, RFE
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:34:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Feature
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Comment 2 Loic Avenel 2019-01-25 12:31:09 UTC
Hi, I need to understand here, are they using Tenancy?

Comment 8 CFME Bot 2019-05-17 09:11:24 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/ee332caa7a0e2a387b6563a75ac93f9dc06a6aa8
commit ee332caa7a0e2a387b6563a75ac93f9dc06a6aa8
Author:     Roman Blanco <rblanco>
AuthorDate: Mon May  6 11:42:46 2019 -0400
Commit:     Roman Blanco <rblanco>
CommitDate: Mon May  6 11:42:46 2019 -0400

    Added option to change group ownership for Service Catalog Items

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

 app/controllers/catalog_controller.rb | 9 +
 app/controllers/mixins/actions/vm_actions/ownership.rb | 2 +
 app/helpers/application_helper/toolbar/servicetemplate_center.rb | 8 +-
 app/helpers/application_helper/toolbar/servicetemplates_center.rb | 10 +
 config/routes.rb | 2 +
 spec/controllers/catalog_controller_spec.rb | 10 +
 6 files changed, 40 insertions(+), 1 deletion(-)

Comment 9 CFME Bot 2019-05-17 10:50:40 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/bc19b276f066ff9445d6ca5d943488358bc0b760
commit bc19b276f066ff9445d6ca5d943488358bc0b760
Author:     Roman Blanco <rblanco>
AuthorDate: Thu May 16 06:19:19 2019 -0400
Commit:     Roman Blanco <rblanco>
CommitDate: Thu May 16 06:19:19 2019 -0400

    Added product feature for changing ownership for Service Catalog Item

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

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

Comment 10 Niyaz Akhtar Ansari 2019-07-02 19:18:44 UTC
Verification steps: 

1. Create new roles with Access Restriction for Services, VMs, and Templates
2. Create new groups with the above created roles
3. Create new users and assign it to the above roles
4. Navigate to Services -> Catalog
5. Catalog Items accordion -> Add a New Catalog Item
6. Select the created Catalog Item -> Set Ownership
7. Assign Service catalog item to above created users/groups
8. Login with above user credentials and Ownership is expected to be visible


Tested with both below options (Access Restriction for Services, VMs, and Templates)
1. Only User Owned
2. Only User or Group Owned

Verified in Version 5.11.0.11.20190625161125_392c61e

Comment 12 errata-xmlrpc 2019-12-12 13:34:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4199