From: Pritha Srivastava Date: Tue, 15 Apr 2025 09:43:18 +0000 (+0530) Subject: rgw/iam: correcting the caps for OIDC Provider for a user. X-Git-Tag: testing/wip-vshankar-testing-20250422.073505-debug~24^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d2585f853a27dbc40fa47181bf79b1532a9f3550;p=ceph-ci.git rgw/iam: correcting the caps for OIDC Provider for a user. Fixes: https://tracker.ceph.com/issues/70926 Signed-off-by: Pritha Srivastava --- diff --git a/src/rgw/rgw_rest_oidc_provider.cc b/src/rgw/rgw_rest_oidc_provider.cc index 20547e0eb23..b2859912e9d 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()