2ba69c4a0b
Update policy of get_total/summary, admin user can get rate info of all tenants and non-admin user can get rate info of itself. For example, get total api change as follows: cloudkitty total-get -- get total of current tenant(get tenant from context) cloudkitty total-get -t tenant_id -- get total of specified tenant if allowed(admin or owner) cloudkitty total-get --all-tenants -- get total of all tenants if allowed(admin) Change-Id: I47dd5f310f18b7e5211165069692827047cdccd6 closes-bug:#1644399 |
||
---|---|---|
.. | ||
v1 | ||
__init__.py | ||
app.py | ||
config.py | ||
hooks.py | ||
middleware.py | ||
root.py |