Hi everyone, I set up the Firebase Auth watching Chris’s video. After the test trial finished I started getting notifications that I need to set up rules. I have been using the playground feature to test it out but I can’t seem to figure it out. If someone can help me set up the security rules I would appreciate it.
All you need to do is set the date into the future so that Firebase does not bother you all the time.
A typical rule I use is:
match /{document=**} {
allow read, write: if request.time < timestamp.date(2023, 12, 31);
}
Mind you, it’s not secure in that anyone who has access can read any data stored but it’s just a playground setup so I don’t particularly care.
yea I did do that and set it at a future date. I just wanted to do it where only authorized users can read or write but I just want to make sure that I am doing it correctly so I don’t mess anything up
Maybe the firebase documentation on rules here might help.