From c3b1d61feb6d49615f010ba33c0c8332b62b6fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=88=E8=BD=A9?= Date: Wed, 5 Sep 2018 15:48:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=AE=E9=80=9A=E7=94=A8=E6=88=B7=E4=B8=8B?= =?UTF-8?q?=E6=A0=B9=E6=8D=AEzone=E8=BF=87=E6=BB=A4=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/compute/models/storages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compute/models/storages.go b/pkg/compute/models/storages.go index 853b0c960f..4486a0bf8d 100644 --- a/pkg/compute/models/storages.go +++ b/pkg/compute/models/storages.go @@ -69,7 +69,7 @@ type SStorage struct { Cmtbound float32 `nullable:"true" list:"admin" update:"admin"` // Column(Float, nullable=True) StorageConf jsonutils.JSONObject `nullable:"true" get:"admin" update:"admin"` // = Column(JSONEncodedDict, nullable=True) - ZoneId string `width:"36" charset:"ascii" nullable:"false" list:"admin" create:"admin_required"` + ZoneId string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"admin_required"` StoragecacheId string `width:"36" charset:"ascii" nullable:"true" list:"admin" get:"admin"` }