cybersemics / em

A beautiful, minimalistic note-taking app for personal sensemaking.
Other
258 stars 88 forks source link

Secure invite system #1408

Open shresthabijay opened 2 years ago

shresthabijay commented 2 years ago

In the current invite system, we have one single collection /invites that are readable and writeable by any user. Anyone with an app token can access and update the invites. This defeats the purpose of private invites. So we need the following things:

shresthabijay commented 2 years ago

Firebase cannot limit the number of entries in a collection. So it is not possible to limit using firebase security rules.

Possible approach