Browse Source

fix: update `storage.rules` (#5020)

pull/5077/head
David Luzar 4 years ago committed by GitHub
parent
commit
7431ca81d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      firebase-project/storage.rules

7
firebase-project/storage.rules

@ -1,12 +1,11 @@ @@ -1,12 +1,11 @@
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{migrations} {
match /{scenes}/{scene} {
match /{files}/rooms/{room}/{file} {
allow get, write: if true;
// redundant, but let's be explicit'
allow list: if false;
}
match /{files}/shareLinks/{shareLink}/{file} {
allow get, write: if true;
}
}
}

Loading…
Cancel
Save