Bug 1553323 - Adding Interface to Router with user in Tenant show all Subnets and not only the Tenant's Subnet
Summary: Adding Interface to Router with user in Tenant show all Subnets and not only ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.2
Assignee: Libor Pichler
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On: 1547408
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-08 16:59 UTC by Satoe Imaishi
Modified: 2022-07-09 09:32 UTC (History)
11 users (show)

Fixed In Version: 5.9.2.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1547408
Environment:
Last Closed: 2018-05-07 20:45:12 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1328 0 None None None 2018-05-07 20:45:41 UTC

Comment 2 CFME Bot 2018-03-08 17:13:43 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/38d2baa39157432b99d18846625fa257a54f1546
commit 38d2baa39157432b99d18846625fa257a54f1546
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Tue Feb 27 03:59:08 2018 -0500
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Tue Feb 27 03:59:08 2018 -0500

    Merge pull request #3474 from lpichler/add_rbac_for_listing_subnets_in_adding_router_interface

    Add RBAC for subnet list
    (cherry picked from commit b28f2b225207ea151ceafd6ba533189cf38ca8f4)

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

 app/controllers/network_router_controller.rb | 2 +-
 spec/controllers/network_router_controller_spec.rb | 45 +
 2 files changed, 46 insertions(+), 1 deletion(-)

Comment 4 Danylo Kholodov 2018-05-04 09:34:31 UTC
Verified on 5.9.2.4

Switched to FailedQA

Steps to Reproduce:
1. Create new Tenant in UI Openstack
2. Create and asign new user to this Tenant
3. Relogin to UI Openstack by new user from previous step
4. Go to Project -> Network -> Router
5. Create new router
6. Go to Networks
7. Create new network with new subnet
8. Login to UI CFME
9. Refresh Cloud Provider
10. Go to Networks -> Network Routers
11. Select router which was created at the step 5
12. Click Configuration -> Add interface to this router
13. Select subnet

Actual results:
Show all Subnets from all Tenants

Expected results:
Show only the Tenant Subnet

Comment 8 Omri Hochman 2018-05-07 14:45:26 UTC
Ido mentioned that we might need to check the Tenant subnets after login with non_admin on the UI ?

Comment 11 errata-xmlrpc 2018-05-07 20:45:12 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-2018:1328


Note You need to log in before you can comment on or make changes to this bug.