Merge "Fix v2 API dataframes get policy check"
This commit is contained in:
commit
02e6be6454
|
@ -72,7 +72,7 @@ class DataFrameList(base.BaseResource):
|
|||
policy.authorize(
|
||||
flask.request.context,
|
||||
'dataframes:get',
|
||||
{'tenant_id': flask.request.context.project_id},
|
||||
{'project_id': flask.request.context.project_id},
|
||||
)
|
||||
|
||||
begin = begin or tzutils.get_month_start()
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes policy check when getting dataframes using the v2 API, causing the
|
||||
operation to fail when run by a non-admin user. See story 2009879
|
||||
<https://storyboard.openstack.org/#!/story/2009879>`_ for more details.
|
Loading…
Reference in New Issue