mirror of https://github.com/halo-dev/halo
Fix typo: snaphosts -> snapshots (#3618)
#### What type of PR is this? /kind cleanup /area core /area console #### What this PR does / why we need it: See https://github.com/halo-dev/halo/issues/3529 for more. #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/3529 #### Does this PR introduce a user-facing change? ```release-note None ```pull/3640/head
parent
841f0293be
commit
1d9c7343fc
|
@ -6,7 +6,7 @@ metadata:
|
|||
halo.run/role-template: "true"
|
||||
annotations:
|
||||
rbac.authorization.halo.run/dependencies: |
|
||||
[ "role-template-view-posts", "role-template-manage-snaphosts", "role-template-manage-tags", "role-template-manage-categories" ]
|
||||
[ "role-template-view-posts", "role-template-manage-snapshots", "role-template-manage-tags", "role-template-manage-categories" ]
|
||||
rbac.authorization.halo.run/module: "Posts Management"
|
||||
rbac.authorization.halo.run/display-name: "Post Manage"
|
||||
rbac.authorization.halo.run/ui-permissions: |
|
||||
|
@ -27,7 +27,7 @@ metadata:
|
|||
halo.run/role-template: "true"
|
||||
annotations:
|
||||
rbac.authorization.halo.run/dependencies: |
|
||||
[ "role-template-view-snaphosts", "role-template-view-tags", "role-template-view-categories" ]
|
||||
[ "role-template-view-snapshots", "role-template-view-tags", "role-template-view-categories" ]
|
||||
rbac.authorization.halo.run/module: "Posts Management"
|
||||
rbac.authorization.halo.run/display-name: "Post View"
|
||||
rbac.authorization.halo.run/ui-permissions: |
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
labels:
|
||||
halo.run/role-template: "true"
|
||||
annotations:
|
||||
rbac.authorization.halo.run/dependencies: "[ \"role-template-view-singlepages\", \"role-template-manage-snaphosts\" ]"
|
||||
rbac.authorization.halo.run/dependencies: "[ \"role-template-view-singlepages\", \"role-template-manage-snapshots\" ]"
|
||||
rbac.authorization.halo.run/module: "SinglePages Management"
|
||||
rbac.authorization.halo.run/display-name: "SinglePage Manage"
|
||||
rbac.authorization.halo.run/ui-permissions: |
|
||||
|
@ -25,7 +25,7 @@ metadata:
|
|||
labels:
|
||||
halo.run/role-template: "true"
|
||||
annotations:
|
||||
rbac.authorization.halo.run/dependencies: "[ \"role-template-view-snaphosts\" ]"
|
||||
rbac.authorization.halo.run/dependencies: "[ \"role-template-view-snapshots\" ]"
|
||||
rbac.authorization.halo.run/module: "SinglePages Management"
|
||||
rbac.authorization.halo.run/display-name: "SinglePage View"
|
||||
rbac.authorization.halo.run/ui-permissions: |
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
apiVersion: v1alpha1
|
||||
kind: "Role"
|
||||
metadata:
|
||||
name: role-template-manage-snaphosts
|
||||
name: role-template-manage-snapshots
|
||||
labels:
|
||||
halo.run/role-template: "true"
|
||||
halo.run/hidden: "true"
|
||||
annotations:
|
||||
rbac.authorization.halo.run/dependencies: "[ \"role-template-view-snaphosts\" ]"
|
||||
rbac.authorization.halo.run/dependencies: "[ \"role-template-view-snapshots\" ]"
|
||||
rules:
|
||||
- apiGroups: [ "content.halo.run" ]
|
||||
resources: [ "snaphosts" ]
|
||||
resources: [ "snapshots" ]
|
||||
verbs: [ "*" ]
|
||||
---
|
||||
apiVersion: v1alpha1
|
||||
kind: "Role"
|
||||
metadata:
|
||||
name: role-template-view-snaphosts
|
||||
name: role-template-view-snapshots
|
||||
labels:
|
||||
halo.run/role-template: "true"
|
||||
halo.run/hidden: "true"
|
||||
rules:
|
||||
- apiGroups: [ "content.halo.run" ]
|
||||
resources: [ "snaphosts" ]
|
||||
resources: [ "snapshots" ]
|
||||
verbs: [ "get", "list" ]
|
|
@ -956,8 +956,8 @@ core:
|
|||
Post Manage: Post Manage
|
||||
Post View: Post View
|
||||
role-template-view-posts: Post View
|
||||
role-template-manage-snaphosts: Snapshot Manage
|
||||
role-template-view-snaphosts: Snapshot View
|
||||
role-template-manage-snapshots: Snapshot Manage
|
||||
role-template-view-snapshots: Snapshot View
|
||||
role-template-manage-tags: Tag Manage
|
||||
role-template-view-tags: Tag View
|
||||
role-template-manage-categories: Category Manage
|
||||
|
|
|
@ -956,8 +956,8 @@ core:
|
|||
Post Manage: 文章管理
|
||||
Post View: 文章查看
|
||||
role-template-view-posts: 文章查看
|
||||
role-template-manage-snaphosts: 版本管理
|
||||
role-template-view-snaphosts: 版本查看
|
||||
role-template-manage-snapshots: 版本管理
|
||||
role-template-view-snapshots: 版本查看
|
||||
role-template-manage-tags: 标签管理
|
||||
role-template-view-tags: 标签查看
|
||||
role-template-manage-categories: 分类管理
|
||||
|
|
Loading…
Reference in New Issue