Bug 1292174 - Multiple catalogs across tenants with the same name
Summary: Multiple catalogs across tenants with the same name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: GA
: 5.6.0
Assignee: Milan Zázrivec
QA Contact: Pavol Kotvan
URL:
Whiteboard: tenant_cfme:ui
Depends On:
Blocks: 1292472
TreeView+ depends on / blocked
 
Reported: 2015-12-16 16:08 UTC by Pavol Kotvan
Modified: 2016-06-29 15:22 UTC (History)
6 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1292472 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:22:04 UTC
Category: Bug
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Same catalog names from three different tenants (46.09 KB, image/png)
2015-12-16 16:08 UTC, Pavol Kotvan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Pavol Kotvan 2015-12-16 16:08:48 UTC
Created attachment 1106491 [details]
Same catalog names from three different tenants

Description of problem:
It is possible to create catalog with "catalog" name in every tenant configured in CFME. Then when you login as super administrator of My Company tenant, you will see "catalog" several times and you won't be able to identify which was created under which tenant. This might be confusing for end users.

Version-Release number of selected component (if applicable):
5.5.0.13

How reproducible:
always

Steps to Reproduce:
1. Create 2 tenants: tenant1, tenant2
2. Create 2 groups: tenant1, tenant2
3. Create 2 users: tenant1, tenant2
4. Login as:
- tenant1
- tenant2
- admin
and create new Catalog named "catalog" in each tenant.
 

Actual results:
As admin user, you will end up with 3 same catalogs. Also Catalog items will show 3 times "catalog"
Catalog with same name can be created only once in each tenant and this is correct. See attached screenshot.

Expected results:
Maybe new column in Catalogs table showing information relationship between Catalogs and tenants?

Additional info:

Comment 2 Milan Zázrivec 2016-01-11 14:31:52 UTC
https://github.com/ManageIQ/manageiq/pull/6126

Comment 3 CFME Bot 2016-01-11 18:01:09 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/d2e252ab1034a159b71674cef571b5ec273403b0

commit d2e252ab1034a159b71674cef571b5ec273403b0
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Mon Jan 11 15:28:27 2016 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Mon Jan 11 15:28:27 2016 +0100

    Display tenant name in catalogs to avoid ambiguity
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1292174

 product/views/ServiceCatalog.yaml  | 5 +++++
 product/views/ServiceTemplate.yaml | 5 +++++
 2 files changed, 10 insertions(+)

Comment 4 Milan Zázrivec 2016-01-21 12:42:43 UTC
https://github.com/ManageIQ/manageiq/pull/6279

Comment 5 CFME Bot 2016-01-21 18:11:05 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6a0cba7737c26a53cb9f829b6bcbe8096967dd06

commit 6a0cba7737c26a53cb9f829b6bcbe8096967dd06
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Thu Jan 21 13:41:07 2016 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Thu Jan 21 13:41:07 2016 +0100

    Show tenant name in Services -> Catalogs -> Catalogs
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1292174

 product/views/ServiceTemplateCatalog.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Comment 9 errata-xmlrpc 2016-06-29 15:22:04 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-2016:1348


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