Fix the problem of unable to enable/disable 2FA for non-admin users (#5290)

Signed-off-by: John Niang <johnniang@foxmail.com>
pull/5292/head
John Niang 2024-01-31 15:44:41 +08:00 committed by GitHub
parent e8c6189cd0
commit e15923b2d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ metadata:
halo.run/hidden: "true"
rules:
- apiGroups: [ "api.security.halo.run" ]
resources: [ "authentications", "authentications/totp" ]
resources: [ "authentications", "authentications/totp", "authentications/settings" ]
verbs: [ "*" ]
---
apiVersion: v1alpha1