Commit a7c010e
Fix v2 API dataframes get policy check
oslo.policy expects the key project_id, not tenant_id anymore. This was
causing the GET /v2/dataframes policy check to fail:
$ openstack --rating-api-version 2 rating dataframes get
{"message": "You are not authorized to perform this action"} (HTTP 403)
In the v1 API, the storage:list_data_frames operation was not affected
because it uses project_id.
Change-Id: Ie4aa6a21e3829223aab0f91d809e311e0f0318cb
Story: 2009879
Task: 44618
(cherry picked from commit 32bf128)1 parent 6a25347 commit a7c010e
File tree
2 files changed
+7
-1
lines changed- cloudkitty/api/v2/dataframes
- releasenotes/notes
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments