You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 21, 2025. It is now read-only.
Modify the clients to read the case stats directly from Firestore, instead of going through the v1 API.
Additional Context
There is existing AppEngine code to generate case stats in RefreshCaseStatsServlet.java. We're looking to replace this code with our new Cloud Functions approach - its logic can likely be mostly maintained.
To allow for direct access from the client to Firestore, we will need to update our Firestore security rules in firestore.rules. Please also update the unit tests in firestore_rules.spec.ts to demonstrate which parts of the database should and should not be accessible directly to clients.