Retrieve resource UUIDs per tenant not globally

Bug #1414194 reported by Sumit Naiksatam
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy Client
Invalid
Medium
Sumit Naiksatam

Bug Description

If a resource name is provided, instead of a resource UUID, the CLI implementation looks up the resource name globally (across tenants). This means that if you have resources with the same name in different tenants, the client is still not able to disambiguate between them and forces you to provide the resource UUID.

This can be fixed by looking up the resource name within a tenant context.

Revision history for this message
Magesh GV (magesh-gv) wrote :

The same issue is observed in listing of resources as well in Project scope in UI

Revision history for this message
Sumit Naiksatam (snaiksat) wrote :

Hi Magesh, A change was made recently to the UI, to return all resources owned by the tenant/project and also all shared resources. Is your comment related to the visibility of the shared resources?

Revision history for this message
Igor D.C. (igordcard) wrote :

I can only reproduce this when a tenant is used by a user that possesses admin role, where even a simple "gbp policy-classifier-list" returns classifiers for every tenant. However, this is the exact behaviour of, e.g., "neutron net-list". So, I believe this is actually expected behaviour and not a bug.

Changed in group-based-policy-client:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.