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),系统自动生成"