Skip to content

Commit d2585f8

Browse files
rgw/iam: correcting the caps for OIDC Provider for a user.
Fixes: https://tracker.ceph.com/issues/70926 Signed-off-by: Pritha Srivastava <[email protected]>
1 parent 80d1e29 commit d2585f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/rgw_rest_oidc_provider.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int RGWRestOIDCProvider::verify_permission(optional_yield y)
3333

3434
int RGWRestOIDCProvider::check_caps(const RGWUserCaps& caps)
3535
{
36-
return caps.check_cap("roles", perm);
36+
return caps.check_cap("oidc-provider", perm);
3737
}
3838

3939
void RGWRestOIDCProvider::send_response()

0 commit comments

Comments
 (0)