Skip to content

Commit

Permalink
Hide the permission of the verification interface (#147)
Browse files Browse the repository at this point in the history
fixes #146
```release-note
在角色创建中隐藏配置校验接口的权限
```
  • Loading branch information
longjuan authored May 6, 2024
1 parent c60e31a commit 6b62ce7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/extensions/s3os-role-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ metadata:
name: role-template-s3os-policy-config-validation
labels:
halo.run/role-template: "true"
halo.run/hidden: "true"
rbac.authorization.halo.run/aggregate-to-role-template-manage-configmaps: "true"
rules:
- apiGroups: ["s3os.halo.run"]
resources: ["policies/validation"]
resourceNames: ["s3"]
verbs: [ "create" ]
verbs: [ "create" ]

0 comments on commit 6b62ce7

Please sign in to comment.