From 87dc4743d3c106559d7dc3cde01d481787831530 Mon Sep 17 00:00:00 2001 From: Qiu Jian Date: Mon, 6 Jul 2020 21:34:25 +0800 Subject: [PATCH] fix: remove default host list policy --- pkg/compute/policy/defaults.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/compute/policy/defaults.go b/pkg/compute/policy/defaults.go index 83e9a95223..04d72739df 100644 --- a/pkg/compute/policy/defaults.go +++ b/pkg/compute/policy/defaults.go @@ -239,12 +239,6 @@ var ( Action: PolicyActionGet, Result: rbacutils.Allow, }, - { - Service: api.SERVICE_TYPE, - Resource: "hosts", - Action: PolicyActionList, - Result: rbacutils.Allow, - }, { Service: api.SERVICE_TYPE, Resource: "vpcs",