Fix the problem of not being able to disconnect OAuth2 user (#6869)

#### What type of PR is this?

/kind bug
/area core
/milestone 2.20.x

#### What this PR does / why we need it:

This PR corrects typo of `apisGroups` to `apiGroups` to fix the problem of not being able to disconnect OAuth2 user.

#### Special notes for your reviewer:

0. Install OAuth2 plugin
1. Log in as a normal user
2. Bind a OAuth2 user
3. Try to unbind it

#### Does this PR introduce a user-facing change?

```release-note
修复无法正常解绑 OAuth2 用户
```
pull/6870/head
John Niang 2024-10-15 15:57:21 +08:00 committed by GitHub
parent 45aae9c1a8
commit c3020d6a85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ rules:
resources: [ "plugins/bundle.js", "plugins/bundle.css" ] resources: [ "plugins/bundle.js", "plugins/bundle.css" ]
resourceNames: [ "-" ] resourceNames: [ "-" ]
verbs: [ "get" ] verbs: [ "get" ]
- apisGroups: [ "uc.api.auth.halo.run" ] - apiGroups: [ "uc.api.auth.halo.run" ]
resources: [ "user-connections/disconnect" ] resources: [ "user-connections/disconnect" ]
verbs: [ "update" ] verbs: [ "update" ]
--- ---