I have a running app for iOS and Android that use the BaaS service provided by Google Firebase. At the moment the rules that are set in firebase will not permit to read from firebase if the user isn't authenticated. Since I need to read the data to implement some data research features into a chrome extension, how I can set the rules to be able to query firebase without authenticating the user in my vue app?
{
"rules": {
"Users": {
".read": "auth != null",
".write" : "auth != null",
".indexOn": "uid"
},
"Posts" : {
".write" : "auth != null",
".indexOn": ["category", "creator"],
".read": "auth != null",
},
"errors" : {
".write" : "auth != null",
".read" : false
},
"PostsQR" : {
".write" : "auth != null",
".indexOn": ["codeQR"],
".read": "auth != null",
}
}
}