mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-25 22:16:08 +08:00
update uni-notification-read-log create permission
This commit is contained in:
parent
e1673c7036
commit
907d345308
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user