From a56aa519d709b48676620a85139cf3b096606e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E7=BA=A2=E4=BF=9D?= Date: Tue, 27 Oct 2020 14:53:31 +0800 Subject: [PATCH] update collection/opendb-mall-goods/collection.json. --- collection/opendb-mall-goods/collection.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/collection/opendb-mall-goods/collection.json b/collection/opendb-mall-goods/collection.json index 92d675e..bdf5b10 100644 --- a/collection/opendb-mall-goods/collection.json +++ b/collection/opendb-mall-goods/collection.json @@ -2,6 +2,12 @@ "schema": { "bsonType": "object", "required": ["goods_sn", "name", "remain_count", "month_sell_count", "total_sell_count", "comment_count", "is_real", "is_on_sale", "is_alone_sale", "is_best", "is_new", "is_hot"], + "permission": { + ".read": true, + ".create": false, + ".update": false, + ".delete": false + }, "properties": { "_id": { "description": "存储文档 ID(商品 ID),系统自动生成"