jmonster / hashtag-drugs

🔝🍲
1 stars 1 forks source link

add security rules for firebase tables #19

Open mikestoltz opened 6 years ago

mikestoltz commented 6 years ago

⚠️ 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 running firebase-bolt < security-rules.bolt