mirror of
https://github.com/halo-dev/plugin-s3.git
synced 2025-10-18 00:14:38 +00:00
Hide the permission of the verification interface (#147)
fixes https://github.com/halo-dev/plugin-s3/issues/146 ```release-note 在角色创建中隐藏配置校验接口的权限 ```
This commit is contained in:
@@ -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" ]
|
||||
|
Reference in New Issue
Block a user