Bug 1458377

Summary: Various network object CRUD forms require better filtering
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Gilles Dubreuil <gdubreui>
Status: CLOSED ERRATA QA Contact: Oleksandr Kolisnyk <okolisny>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, dajohnso, gdubreui, hkataria, jhardy, mpovolny, obarenbo, opavlenk, simaishi, tzumainn
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack:sdn
Fixed In Version: 5.8.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1394289 Environment:
Last Closed: 2017-08-02 17:25:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On: 1394289    
Bug Blocks:    

Comment 2 CFME Bot 2017-06-02 22:36:15 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/a2b8ebec79d5ee373d2ed5fa87c6e4ad4d5d6e80

commit a2b8ebec79d5ee373d2ed5fa87c6e4ad4d5d6e80
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Mon Apr 17 17:08:46 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jun 2 18:30:40 2017 -0400

    Merge pull request #14731 from tzumainn/cloud-tenant-api
    
    Add cloud tenants to API
    (cherry picked from commit 27e1ab00e90b79ce379d3938d01e24dc1492a996)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1458377

 app/controllers/api/cloud_tenants_controller.rb    |  4 ++
 app/controllers/api/providers_controller.rb        |  1 +
 .../api/subcollections/cloud_tenants.rb            |  9 ++++
 config/api.yml                                     | 28 +++++++++++++
 spec/requests/api/cloud_tenants_spec.rb            | 49 ++++++++++++++++++++++
 spec/requests/api/collections_spec.rb              | 10 +++++
 spec/requests/api/providers_spec.rb                | 47 +++++++++++++++++++++
 7 files changed, 148 insertions(+)
 create mode 100644 app/controllers/api/cloud_tenants_controller.rb
 create mode 100644 app/controllers/api/subcollections/cloud_tenants.rb
 create mode 100644 spec/requests/api/cloud_tenants_spec.rb

Comment 3 CFME Bot 2017-06-14 13:08:26 UTC
New commit detected on ManageIQ/manageiq-ui-classic/fine:
https://github.com/ManageIQ/manageiq-ui-classic/commit/e42426967f90f057fbc0f23e1611c84a59c1349e

commit e42426967f90f057fbc0f23e1611c84a59c1349e
Author:     Martin Hradil <himdel>
AuthorDate: Wed May 24 09:07:23 2017 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Jun 14 09:01:56 2017 -0400

    Merge pull request #1343 from tzumainn/network-tenant-filtering
    
    Add cloud tenant filtering for various network object forms
    (cherry picked from commit dc8cd44621f0515959ec6f274132205ee9b3a0a4)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1458377

 .../cloud_network/cloud_network_form_controller.js  |  4 ++++
 .../floating_ip/floating_ip_form_controller.js      |  4 ++++
 .../network_router_form_controller.js               |  4 ++++
 .../security_group_form_controller.js               |  4 ++++
 app/assets/javascripts/services/miq_service.js      | 21 ++++++++++++++++++++-
 app/controllers/application_controller.rb           |  1 +
 app/controllers/application_controller/network.rb   | 11 +++++++++++
 app/controllers/cloud_network_controller.rb         |  6 ++----
 app/controllers/floating_ip_controller.rb           |  6 ++----
 app/controllers/network_router_controller.rb        |  6 ++----
 app/controllers/security_group_controller.rb        |  8 ++------
 app/views/cloud_network/new.html.haml               | 20 ++++++++++++--------
 app/views/floating_ip/new.html.haml                 | 19 +++++++++++--------
 app/views/network_router/new.html.haml              | 18 +++++++++++-------
 app/views/security_group/new.html.haml              | 20 ++++++++++++--------
 15 files changed, 102 insertions(+), 50 deletions(-)
 create mode 100644 app/controllers/application_controller/network.rb

Comment 5 Oleksandr Kolisnyk 2017-07-03 14:29:34 UTC
Verified 5.8.1.0

Comment 7 errata-xmlrpc 2017-08-02 17:25:36 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/RHSA-2017:1758