showing quota during image launch breaks
Bug #858649 reported by
Jesse Andrews
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Critical
|
Gabriel Hurley |
Bug Description
when I use devstack to create a new cloud based on diablo, then manage to create a non-admin user/tenant, when I try to launch a server I get API exception (from the part of the code that shows quotas it appears).
ApiException at /dash/jesse/
Not authorized. (HTTP 500)
from:
return admin_api(
Changed in openstack-dashboard: | |
milestone: | none → diablo-integrated-freeze |
Changed in openstack-dashboard: | |
importance: | Undecided → Critical |
Changed in openstack-dashboard: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is easy fix:
return admin_api( request) .quota_ sets.get( tenant)
should be come
if request. user.is_ admin() : request) .quota_ sets.get( tenant)
return admin_api(
else:
return {}