Skip to content

Commit 4d2aa06

Browse files
authored
Merge pull request ceph#62819 from pritha-srivastava/wip-rgw-iam-oidc-caps
rgw/iam: correcting the caps for OIDC Provider for a user. Reviewed-by: Casey Bodley <[email protected]>
2 parents a14374d + d2585f8 commit 4d2aa06

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)