Skip to content

Commit

Permalink
Fix the problem of unable to enable/disable 2FA for non-admin users (#…
Browse files Browse the repository at this point in the history
…5290)

Signed-off-by: John Niang <[email protected]>
  • Loading branch information
JohnNiang authored Jan 31, 2024
1 parent e8c6189 commit e15923b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e15923b

Please sign in to comment.