← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1391242] [NEW] quotas do not work for users with admin role

 

Public bug reported:

If a user has the admin role, and it working in a particular project -
some quota lookups look for items used globally, and do not make a
tenant scoped api call.

For example:
https://github.com/openstack/horizon/blob/master/openstack_dashboard/usage/quotas.py#L303
This api call should be network_list_for_tenant(), instead of looking up all networks.

The same is true for  routers as well.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1391242

Title:
  quotas do not work for users with admin role

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  If a user has the admin role, and it working in a particular project -
  some quota lookups look for items used globally, and do not make a
  tenant scoped api call.

  For example:
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/usage/quotas.py#L303
  This api call should be network_list_for_tenant(), instead of looking up all networks.

  The same is true for  routers as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1391242/+subscriptions


Follow ups

References