update uni-notification-read-log create permission

This commit is contained in:
linju 2023-02-27 20:32:28 +08:00
parent e1673c7036
commit 907d345308

View File

@ -4,7 +4,7 @@
"required": [],
"permission": {
"read": "auth.uid == doc.user_id",
"create": "auth.uid == doc.user_id",
"create": true,
"update": "auth.uid == doc.user_id",
"delete": "auth.uid == doc.user_id"
},
@ -16,6 +16,12 @@
"bsonType": "string",
"foreignKey": "uni-notification-center._id"
},
"user_id": {
"bsonType": "string",
"forceDefaultValue": {
"$env": "uid"
}
},
"create_time": {
"bsonType": "timestamp",
"forceDefaultValue": {