Designate DNS – "Zone Ownership Transfers API" - Admin client is able to impersonate another project, without using “x-auth-sudo-project-id” HTTP header
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
New
|
Undecided
|
Unassigned |
Bug Description
Test Scenario:
As Admin client activate “Show a Zone Transfer Request” withoput addong the “x-auth-
Patch to reproduce: https:/
2021-04-28 11:37:41.076222 | controller | 2021-04-28 11:37:34,639 96585 INFO [designate_
2021-04-28 11:37:41.076234 | controller | 2021-04-28 11:37:34,679 96585 INFO [tempest.
2021-04-28 11:37:41.076247 | controller | 2021-04-28 11:37:34,679 96585 DEBUG [tempest.
2021-04-28 11:37:41.076259 | controller | Body: None
2021-04-28 11:37:41.076271 | controller | Response - Headers: {'date': 'Wed, 28 Apr 2021 11:37:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-len
2021-04-28 11:37:41.076293 | controller | gth': '464', 'x-openstack-
Actual Result:
Admin client is able to “show” the data for another project. 200 OK.
Expected result:
Without using “x-auth-