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
Users can choose to keep info private, shared with school members, or all UPE. Need two stages:
On DB side need security rules. allow read if (user signed in) and (resource.visibility == public or resource.visibility == request.school)
allow write if auth id matches db id
Users can choose to keep info private, shared with school members, or all UPE. Need two stages:
On DB side need security rules. allow read if (user signed in) and (resource.visibility == public or resource.visibility == request.school)
allow write if auth id matches db id
On client side, need to fetch all public records and all records where visibility matches authuser school. Will need to dedupe:
https://medium.com/firebase-tips-tricks/how-to-combined-two-firestore-queries-to-simulate-a-logical-or-query-27d28a43cb2d
The text was updated successfully, but these errors were encountered: