Skip to content

Commit

Permalink
refactor: translate permission names to Chinese (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <[email protected]>
  • Loading branch information
ruibaby authored Oct 21, 2024
1 parent 2c2c32b commit 7be3c05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/extensions/roleTemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
halo.run/role-template: "true"
annotations:
rbac.authorization.halo.run/module: "Link Management"
rbac.authorization.halo.run/module: "链接"
rbac.authorization.halo.run/display-name: "链接查看"
rbac.authorization.halo.run/ui-permissions: |
["plugin:links:view"]
Expand All @@ -25,7 +25,7 @@ metadata:
labels:
halo.run/role-template: "true"
annotations:
rbac.authorization.halo.run/module: "Link Management"
rbac.authorization.halo.run/module: "链接"
rbac.authorization.halo.run/display-name: "链接管理"
rbac.authorization.halo.run/ui-permissions: |
["plugin:links:manage"]
Expand All @@ -34,4 +34,4 @@ metadata:
rules:
- apiGroups: [ "core.halo.run" ]
resources: [ "links", "linkgroups" ]
verbs: [ "create", "patch", "update", "delete", "deletecollection" ]
verbs: [ "create", "patch", "update", "delete", "deletecollection" ]

0 comments on commit 7be3c05

Please sign in to comment.