Skip to content

[v2] Closes #2321 - Fix TestRolesCRUD by including DomainID to TestRolesCRUD #3511

Merged
kayrus merged 1 commit intov2from
bp-v2-6e98767
Sep 18, 2025
Merged

[v2] Closes #2321 - Fix TestRolesCRUD by including DomainID to TestRolesCRUD #3511
kayrus merged 1 commit intov2from
bp-v2-6e98767

Conversation

@gophercloud-backport-bot
Copy link
Copy Markdown

Backport: #3509

Fixes #[2321]

The original issue said that Gophercloud did not support deleting roles from a specific domain. This isn't really the case as to create a role, a domain must be specified also. The API allows deletion by role ID without specifying a domain,but this is fine as the role ID is all that is needed for the role to be deleted from a specific domain.
API call refs

To make the Acceptance test consistent with this API behaviour, "DomainID" was added to both calls CreateOpts & ListOpts in roles_test.go.

So going to close this issue as no new feature needed because Delete Role works as expected.

…ListOps structs.

Signed-off-by: Dan Lawton <dlawton@redhat.com>
@github-actions github-actions bot added the semver:patch No API change label Sep 17, 2025
@github-actions github-actions bot added v2 This PR targets v2 edit:identity This PR updates identity code labels Sep 17, 2025
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 63.673%. remained the same
when pulling 4af4434 on bp-v2-6e98767
into 4e3cd2c on v2.

@kayrus kayrus merged commit 6d69f73 into v2 Sep 18, 2025
21 checks passed
@kayrus kayrus deleted the bp-v2-6e98767 branch September 18, 2025 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

edit:identity This PR updates identity code semver:patch No API change v2 This PR targets v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants