Open Bryant-Tang opened 10 months ago
So the editors、viewers field should be provide when calling api in front-end ? why add "editors"、"viewers" for all models might be a better solution?
solution after discussion: example
{
"members": [
{
"id": 1,
"writable": true,
"readable": true
},
{
"id": 2,
"writable": false,
"readable": true
}
]
}
DB is currently allow all user to manipulate all data in DB.