Skip to content

dns: add X-Auth-All-Projects header support to recordsets - #3804

Merged
kayrus merged 1 commit into
gophercloud:mainfrom
abhijith-darshan:feat/record_set_all_projects
Jul 10, 2026
Merged

kayrus merged 1 commit into
gophercloud:mainfrom
abhijith-darshan:feat/record_set_all_projects

Conversation

@abhijith-darshan

Copy link
Copy Markdown
Contributor

Fixes #3803

Links to the line numbers/files in the OpenStack source code that support the code in this PR:

https://opendev.org/openstack/designate/src/commit/12a5256eb51a22acc414fe7082f857355c736d5a/designate/api/middleware.py#L62-L72

@coveralls

coveralls commented Jun 18, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 63.545% (+0.005%) from 63.54% — abhijith-darshan:feat/record_set_all_projects into gophercloud:main

Comment thread openstack/dns/v2/recordsets/requests.go Outdated
… to recordsets

Add AllProjects and SudoTenantID fields to ListOpts, CreateOpts,
UpdateOpts, and DeleteOpts, allowing admin users to enumerate and
manage recordsets across projects via X-Auth-All-Projects header,
and to impersonate a tenant via X-Auth-Sudo-Tenant-ID header.

Follows the optional type assertion pattern established in the zones
package. Delete uses a non-variadic DeleteOptsBuilder parameter for
consistency with the rest of the codebase.

Closes #3803
@abhijith-darshan
abhijith-darshan requested review from kayrus and mandre July 9, 2026 14:28
Comment thread openstack/dns/v2/recordsets/requests.go
Comment thread openstack/dns/v2/recordsets/requests.go
@kayrus
kayrus added this pull request to the merge queue Jul 10, 2026
Merged via the queue into gophercloud:main with commit 17de0f8 Jul 10, 2026
70 checks passed
@abhijith-darshan

Copy link
Copy Markdown
Contributor Author

@mandre @kayrus - Can I request for a new release for v2 please?

V2 PR is merged - #3844

We desperately need this feature for external-dns openstack designate webhook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

edit:dns This PR updates dns code semver:major Breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DNS: support X-Auth-All-Projects header in recordsets

4 participants