According to these answers The following should allow red anyone access and write authorized user:
rules_version = '2';
service firebase.storage {
match /b/example-bda7b.appspot.com/o {
match /{allPaths=**} {
allow read;
allow write: if request.auth != null;
}
}
}
bucket name is: example-bda7b.appspot.com/o
However when I go to the uri:
http://storage.googleapis.com/example-bda7b.appspot.com/images/someone-Lopez.jpg
I get an error:
<Error>
<Code>AccessDenied</Code>
<Message>Access denied.</Message>
<Details>
Anonymous caller does not have storage.objects.get access to example-bda7b.appspot.com/images/Aaliyah-Lopez.jpg.
</Details>
</Error>
Any idea why?