The ruleset safeguarding RIVAlumni's sensitive information database.
Use Git to download the source code.
git clone https://github.com/RIVAlumni/RIVADatabaseOps-Rules.git
And use Firebase Tools to initialize the Firestore & Storage emulators.
npm i -g firebase-tools@latest
firebase init firestore
firebase init storage
- Run
npm run test:watch
- Write your tests.
- Check for any errors.
- Run
npm test
- Open
ui-report/index.html
- Read the entire report and ensure that no tests have failed.
Note: This project is intended to only be used by RIVAlumni
Should you have any difficulties, please create a new issue and describe clearly the issue with reproducible steps.
Note: Any pull requests that change the firestore
/ storage
ruleset will be rejected. Should you feel a need to change the ruleset, please create a new issue.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
- Aaron Teo — RIVAlumni