Skip to content

Commit

Permalink
fix: update storage.rules (excalidraw#5020)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle authored Apr 17, 2022
1 parent 4d13dbf commit 7431ca8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions firebase-project/storage.rules
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{migrations} {
match /{scenes}/{scene} {
allow get, write: if true;
// redundant, but let's be explicit'
allow list: if false;
}
match /{files}/rooms/{room}/{file} {
allow get, write: if true;
}
match /{files}/shareLinks/{shareLink}/{file} {
allow get, write: if true;
}
}
}

0 comments on commit 7431ca8

Please sign in to comment.