From 326608c37165378a1197c19e96b790ba9980cf0a Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Wed, 9 Oct 2024 14:50:57 +0800 Subject: [PATCH] refactor: hide unnecessary role template (#158) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 隐藏不必要的角色模板。 image ```release-note 隐藏不必要的角色模板。 ``` --- src/main/resources/extensions/role-templates.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/extensions/role-templates.yaml b/src/main/resources/extensions/role-templates.yaml index 9524cc7..5d27bea 100644 --- a/src/main/resources/extensions/role-templates.yaml +++ b/src/main/resources/extensions/role-templates.yaml @@ -4,6 +4,7 @@ metadata: name: comment-widget-public-apis labels: halo.run/role-template: "true" + halo.run/hidden: "true" rbac.authorization.halo.run/aggregate-to-anonymous: "true" annotations: rbac.authorization.halo.run/module: "Comment Widget"