Hi
In Moralis Streams extension in Firestore DB, the security rules given by it are
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /moralis/{collectionType}/{collectionName}/{id} {
allow read;
allow write: if false;
}
}
}
My query is doesn’t the above rule restrict all the writes and does allow only reads. But the cloud function should still be able to write documents to db I believe. Please help me understand it better. So, I can define rules such that only cloud function can write and rest all of application can only read