diff --git a/src/main/resources/extensions/role-template-post.yaml b/src/main/resources/extensions/role-template-post.yaml index 8074c5596b..5860118de4 100644 --- a/src/main/resources/extensions/role-template-post.yaml +++ b/src/main/resources/extensions/role-template-post.yaml @@ -16,7 +16,7 @@ rules: resources: [ "posts" ] verbs: [ "*" ] - apiGroups: [ "api.console.halo.run" ] - resources: [ "posts", "posts/publish", "contents", "contents/publish" ] + resources: [ "posts", "posts/publish", "posts/unpublish", "posts/recycle", "contents", "contents/publish" ] verbs: [ "create", "patch", "update", "delete", "deletecollection" ] --- apiVersion: v1alpha1