cloudcommon: virtualresource ProjectId visible when user list

This commit is contained in:
Zexi Li
2019-02-28 20:41:45 +08:00
parent f0cc337aa0
commit 9312401932
+1 -1
View File
@@ -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"`