2023-11-08 00:07:29 +11:00
|
|
|
rules_version = '2';
|
|
|
|
|
|
|
|
// Craft rules based on data in your Firestore database
|
|
|
|
// allow write: if firestore.get(
|
|
|
|
// /databases/(default)/documents/users/$(request.auth.uid)).data.isAdmin;
|
|
|
|
service firebase.storage {
|
|
|
|
match /b/{bucket}/o {
|
|
|
|
match /{allPaths=**} {
|
2023-11-15 01:23:46 +11:00
|
|
|
allow read, write: if true;
|
2023-11-08 00:07:29 +11:00
|
|
|
}
|
|
|
|
}
|
2023-11-15 01:23:46 +11:00
|
|
|
}
|