⚠️ Hold off on merging for now - this is still very much a work in progress. ⚠️
I have not yet published these rules in firebase itself.
Still TODO:
[ ] Update controllers/templates to set new owner properties
[ ] Finish testing rules in firebase simulator
[ ] publish rules in firebase
I updated this to write the rules in bolt - it is significantly cleaner, more maintainable, and readable compared to the original manually written rules you can see here for reference. This I see being stored in the repo itself and supposedly the firebase.json change will automatically push updates to the rules to firebase on deploy.
You can manually compile the rules by installing the cli npm install - firebase-bolt and running firebase-bolt < security-rules.bolt
⚠️ Hold off on merging for now - this is still very much a work in progress. ⚠️
I have not yet published these rules in firebase itself.
Still TODO:
I updated this to write the rules in bolt - it is significantly cleaner, more maintainable, and readable compared to the original manually written rules you can see here for reference. This I see being stored in the repo itself and supposedly the
firebase.json
change will automatically push updates to the rules to firebase on deploy.You can manually compile the rules by installing the cli
npm install - firebase-bolt
and runningfirebase-bolt < security-rules.bolt