I am trying to write a rule for my Firebase users.
My goal is to have a rule to allow write/read in the database for:
- anonymous users authentificated through Firebase auth which are temporary anonymous accounts
- authenticated users with email and password.
How can I achieve that ?