codeforbtv / baby-equipment-exchange

MIT License
0 stars 8 forks source link

Set up visibility of items in the system so that initially users only see what they have donated #30

Open ksnielsen opened 1 year ago

NathanWEdwards commented 10 months ago

Currently, multiple API methods are available to retrieve donations. Components that handle donation data are currently managing what information is retrieved.

User stories:

Acceptance criteria:

Firestore rules permit read access to Firestore donation-related Collections when an authorized user has an admin claim. Authorized users without an admin claim are also permitted to read donations, however, Cloud Functions that carry-out retrieving donation data filter data that is provided to the user based on the user's present claim(s).