mirror of
https://github.com/reiyua/RaysMovieClub.git
synced 2026-01-20 07:37:46 +00:00
Modify Firebase Rules to prevent conflict with web app
This commit is contained in:
parent
7a672b58a7
commit
2d59b73f47
2 changed files with 7 additions and 4 deletions
|
|
@ -12,8 +12,11 @@ service cloud.firestore {
|
||||||
// Make sure to write security rules for your app before that time, or else
|
// Make sure to write security rules for your app before that time, or else
|
||||||
// all client requests to your Firestore database will be denied until you Update
|
// all client requests to your Firestore database will be denied until you Update
|
||||||
// your rules
|
// your rules
|
||||||
match /{document=**} {
|
//match /{document=**} {
|
||||||
allow read, write: if request.time < timestamp.date(2023, 12, 7);
|
//allow read, write: if request.time < timestamp.date(2023, 12, 7);
|
||||||
|
// }
|
||||||
|
match /movies/{document=**} {
|
||||||
|
allow read: if true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -6,7 +6,7 @@ rules_version = '2';
|
||||||
service firebase.storage {
|
service firebase.storage {
|
||||||
match /b/{bucket}/o {
|
match /b/{bucket}/o {
|
||||||
match /{allPaths=**} {
|
match /{allPaths=**} {
|
||||||
allow read, write: if false;
|
allow read, write: if true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue