In my fireaase storage i have a rule that allows access if
request.auth.token.email in firestore.get(/databases/(default)/documents/Groups/$(groupId)).data.owners
This rule works great in my dev-environment, but when i test in my test-environment
firestore.get(/databases/(default)/documents/Groups/$(groupId))
becomes null and i get "access denied"
In all the guides it says that you have to "Enable cross-service communication" and that the first time you save the rules using firestore.get, you should get a popup asking for "Provision cross-service rules"
The problem is that the first time i saved the rules with the firestore.get, i did not get the pop-up question. And nowhere I can find does it says how to attach that permission, it just says I should!
It's probably something so easy that I haven't found it, but please help!
I have read and tried: