mirror of https://github.com/halo-dev/halo
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
parent
e8c6189cd0
commit
e15923b2d4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue