From 8e2092e18ec0f507cbe8a1e3fba7d19fd2beac77 Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Fri, 5 Mar 2021 17:26:25 +0800 Subject: [PATCH] fix: add nat sku policy --- pkg/compute/policy/defaults.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg/compute/policy/defaults.go b/pkg/compute/policy/defaults.go index 9fc06c1a75..6aaf45a1b9 100644 --- a/pkg/compute/policy/defaults.go +++ b/pkg/compute/policy/defaults.go @@ -355,6 +355,18 @@ var ( Result: rbacutils.Allow, }, */ + { + Service: api.SERVICE_TYPE, + Resource: "nat_skus", + Action: PolicyActionList, + Result: rbacutils.Allow, + }, + { + Service: api.SERVICE_TYPE, + Resource: "nat_skus", + Action: PolicyActionGet, + Result: rbacutils.Allow, + }, }, }, }