Skip to content

Commit a6e3493

Browse files
authored
Merge pull request #11 from stackhpc/upstream/victoria-2022-06-20
Synchronise victoria with upstream
2 parents 5b01c4c + 17eb89f commit a6e3493

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

cloudkitty/api/v1/controllers/rating.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#
1616
from oslo_concurrency import lockutils
1717
from oslo_log import log
18-
1918
import pecan
2019
from pecan import rest
2120

cloudkitty/api/v2/dataframes/dataframes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get(self,
7272
policy.authorize(
7373
flask.request.context,
7474
'dataframes:get',
75-
{'tenant_id': flask.request.context.project_id},
75+
{'project_id': flask.request.context.project_id},
7676
)
7777

7878
begin = begin or tzutils.get_month_start()
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes policy check when getting dataframes using the v2 API, causing the
5+
operation to fail when run by a non-admin user. See story 2009879
6+
<https://storyboard.openstack.org/#!/story/2009879>`_ for more details.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes the quote API method. See story 2009022
5+
<https://storyboard.openstack.org/#!/story/2009022>`_ for more details.

0 commit comments

Comments
 (0)