Stephen Phillips
Stephen Phillips

Reputation: 681

Firebase Storage No Permission Issue

I want anyone to be able to access the database and write to it. I know that's not secure, but this is a pretty dummy site where I don't want people to have to create accounts. There is no login. Anytime I set my security for storage to public it lasts for a couple hours and then gets changed back right away. Does firebase not allow this?

service firebase.storage {
  match /b/{bucket}/o {
    match /{allPaths=**} {
      allow read, write;
    }
  }
}

Upvotes: 0

Views: 45

Answers (1)

jef
jef

Reputation: 542

The problem maybe is in rules defined in your project directory, it causes conflict with the rules in the Firebase console. Make sure that you also update the rules defined in your project directory.

More info: Deployment Conflicts

Upvotes: 1

Related Questions