mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
update uni-notification-read-log create permission
This commit is contained in:
parent
e1673c7036
commit
907d345308
@ -4,7 +4,7 @@
|
|||||||
"required": [],
|
"required": [],
|
||||||
"permission": {
|
"permission": {
|
||||||
"read": "auth.uid == doc.user_id",
|
"read": "auth.uid == doc.user_id",
|
||||||
"create": "auth.uid == doc.user_id",
|
"create": true,
|
||||||
"update": "auth.uid == doc.user_id",
|
"update": "auth.uid == doc.user_id",
|
||||||
"delete": "auth.uid == doc.user_id"
|
"delete": "auth.uid == doc.user_id"
|
||||||
},
|
},
|
||||||
@ -16,6 +16,12 @@
|
|||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"foreignKey": "uni-notification-center._id"
|
"foreignKey": "uni-notification-center._id"
|
||||||
},
|
},
|
||||||
|
"user_id": {
|
||||||
|
"bsonType": "string",
|
||||||
|
"forceDefaultValue": {
|
||||||
|
"$env": "uid"
|
||||||
|
}
|
||||||
|
},
|
||||||
"create_time": {
|
"create_time": {
|
||||||
"bsonType": "timestamp",
|
"bsonType": "timestamp",
|
||||||
"forceDefaultValue": {
|
"forceDefaultValue": {
|
||||||
|
Loading…
Reference in New Issue
Block a user