Skip to content

RHDHBUGS-942 RBAC REST API DELETE request requires a JSON body#1766

Merged
themr0c merged 15 commits into
redhat-developer:mainfrom
themr0c:RHDHBUGS-942-RBAC-REST-API-DELETE-requests-need-a-body
Feb 10, 2026
Merged

RHDHBUGS-942 RBAC REST API DELETE request requires a JSON body#1766
themr0c merged 15 commits into
redhat-developer:mainfrom
themr0c:RHDHBUGS-942-RBAC-REST-API-DELETE-requests-need-a-body

Conversation

@themr0c
Copy link
Copy Markdown
Member

@themr0c themr0c commented Feb 9, 2026

RBAC REST API DELETE request requires a JSON body

Version(s): main, release-1.9

Issue: https://issues.redhat.com/browse/RHDHBUGS-942

Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
@rhdh-bot
Copy link
Copy Markdown
Collaborator

rhdh-bot commented Feb 9, 2026

Copy link
Copy Markdown
Member

@pabel-rh pabel-rh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with a minor comment.

Comment thread modules/authorization/ref-rbac-rest-api-endpoints.adoc Outdated
Co-authored-by: Priyanka Abel <pabel@redhat.com>
Copy link
Copy Markdown
Member

@PatAKnight PatAKnight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@themr0c, it looks like the example request bodies were added to the wrong endpoints. The [DELETE] /api/permission/policies/__<kind>__/__<namespace>__/__<name>__:: endpoint is the one that requires the example.

Comment thread modules/authorization/ref-rbac-rest-api-endpoints.adoc Outdated
Comment thread modules/authorization/ref-rbac-rest-api-endpoints.adoc Outdated
Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
Comment thread modules/authorization/ref-rbac-rest-api-endpoints.adoc Outdated
Comment thread modules/authorization/ref-rbac-rest-api-endpoints.adoc Outdated
Comment thread modules/authorization/ref-rbac-rest-api-endpoints.adoc Outdated
Copy link
Copy Markdown
Member

@PatAKnight PatAKnight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud
Copy link
Copy Markdown

@themr0c themr0c merged commit 5eb3b2d into redhat-developer:main Feb 10, 2026
6 checks passed
@themr0c themr0c deleted the RHDHBUGS-942-RBAC-REST-API-DELETE-requests-need-a-body branch February 10, 2026 14:36
@themr0c
Copy link
Copy Markdown
Member Author

themr0c commented Feb 10, 2026

/cherry-pick release-1.9

1 similar comment
@themr0c
Copy link
Copy Markdown
Member Author

themr0c commented Feb 10, 2026

/cherry-pick release-1.9

@openshift-cherrypick-robot
Copy link
Copy Markdown
Contributor

@themr0c: new pull request created: #1783

Details

In response to this:

/cherry-pick release-1.9

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants