Skip to content

Commit

Permalink
Fix the problem of not being able to disconnect OAuth2 user (#6869)
Browse files Browse the repository at this point in the history
#### 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 用户
```
  • Loading branch information
JohnNiang authored Oct 15, 2024
1 parent 45aae9c commit c3020d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rules:
resources: [ "plugins/bundle.js", "plugins/bundle.css" ]
resourceNames: [ "-" ]
verbs: [ "get" ]
- apisGroups: [ "uc.api.auth.halo.run" ]
- apiGroups: [ "uc.api.auth.halo.run" ]
resources: [ "user-connections/disconnect" ]
verbs: [ "update" ]
---
Expand Down

0 comments on commit c3020d6

Please sign in to comment.