Skip to content

Commit c3020d6

Browse files
authored
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 用户 ```
1 parent 45aae9c commit c3020d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/src/main/resources/extensions/role-template-authenticated.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ rules:
2929
resources: [ "plugins/bundle.js", "plugins/bundle.css" ]
3030
resourceNames: [ "-" ]
3131
verbs: [ "get" ]
32-
- apisGroups: [ "uc.api.auth.halo.run" ]
32+
- apiGroups: [ "uc.api.auth.halo.run" ]
3333
resources: [ "user-connections/disconnect" ]
3434
verbs: [ "update" ]
3535
---

0 commit comments

Comments
 (0)