+ 2
HELP: Firebase rules not implementing correctly
I have a newsletter section on my website. I have a Firebase dB connected to that. My rules are the allow read: if false; allow get: if true; allow list: if false; allow update:if false; allow delete: if false; allow create: if true; This states that the user can do nothing but CREATE a document. They should be able to create a document, but the permission is denied when I click the submit button to create a document. Is there any other permission I have to give? I have another question as well, why am I getting random reads on my dB when I’m the only one who can read it?
5 Respuestas
+ 3
rudolph flash so if I wanted the user to not read and only create I would put allow read if false, and allow create?
+ 2
if i remember correctly, the rule is "write" not "create"
which method are you using to get all data?
if you log in console, is all data shown?
+ 2
i have solved the question!
Thanks for your help rudolph flash Gordon
my documment path was incorrect 😤
0
rudolph flash okay let me try it