I am trying to wrap my head around the security rules of Firestore. Here's my use case.
In my app, an User can create content which only he/she can read/write. I also have a another collection which can be read/written, only by the application, not by any user.
{
// should be read/write by individual users
"users" : {
foo : {
bar: 'zoo'
}
},
// Should be read/write, only by application
"bookkeeping" : {
paidUsers: {
...
}
}
}
Can this be done using Firestore security rules?