Skip to content

Commit

Permalink
refactor: hide unnecessary role template (#158)
Browse files Browse the repository at this point in the history
隐藏不必要的角色模板。

<img width="574" alt="image" src="https://github.com/user-attachments/assets/d597abe3-c761-41f4-a91c-498009dc5fd1">

```release-note
隐藏不必要的角色模板。
```
  • Loading branch information
ruibaby authored Oct 9, 2024
1 parent ce11166 commit 326608c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/extensions/role-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 326608c

Please sign in to comment.