Comment 1 for bug 858649

Revision history for this message
Devin Carlen (devcamcar) wrote :

This is easy fix:

return admin_api(request).quota_sets.get(tenant)

should be come

if request.user.is_admin():
    return admin_api(request).quota_sets.get(tenant)
else:
    return {}