From d2585f853a27dbc40fa47181bf79b1532a9f3550 Mon Sep 17 00:00:00 2001 From: Pritha Srivastava Date: Tue, 15 Apr 2025 15:13:18 +0530 Subject: [PATCH] rgw/iam: correcting the caps for OIDC Provider for a user. Fixes: https://tracker.ceph.com/issues/70926 Signed-off-by: Pritha Srivastava --- src/rgw/rgw_rest_oidc_provider.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_rest_oidc_provider.cc b/src/rgw/rgw_rest_oidc_provider.cc index 20547e0eb230f..b2859912e9d30 100644 --- a/src/rgw/rgw_rest_oidc_provider.cc +++ b/src/rgw/rgw_rest_oidc_provider.cc @@ -33,7 +33,7 @@ int RGWRestOIDCProvider::verify_permission(optional_yield y) int RGWRestOIDCProvider::check_caps(const RGWUserCaps& caps) { - return caps.check_cap("roles", perm); + return caps.check_cap("oidc-provider", perm); } void RGWRestOIDCProvider::send_response() -- 2.47.3