From 9312401932f965b8d9bf251e4d27f67e42115c8f Mon Sep 17 00:00:00 2001 From: Zexi Li Date: Thu, 28 Feb 2019 20:41:45 +0800 Subject: [PATCH] cloudcommon: virtualresource ProjectId visible when user list --- pkg/cloudcommon/db/virtualresource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudcommon/db/virtualresource.go b/pkg/cloudcommon/db/virtualresource.go index 63bfa5fa5f..531b782673 100644 --- a/pkg/cloudcommon/db/virtualresource.go +++ b/pkg/cloudcommon/db/virtualresource.go @@ -29,7 +29,7 @@ func NewVirtualResourceBaseManager(dt interface{}, tableName string, keyword str type SVirtualResourceBase struct { SStatusStandaloneResourceBase - ProjectId string `name:"tenant_id" width:"128" charset:"ascii" nullable:"false" index:"true" list:"admin"` + ProjectId string `name:"tenant_id" width:"128" charset:"ascii" nullable:"false" index:"true" list:"user"` IsSystem bool `nullable:"true" default:"false" list:"admin" create:"optional"`