mirror of
https://github.com/stronk-dev/RandomChad.git
synced 2025-07-05 02:35:08 +02:00
21 lines
323 B
Plaintext
21 lines
323 B
Plaintext
rules_version = '2';
|
|
service firebase.storage {
|
|
|
|
match /b/{bucket}/o {
|
|
|
|
|
|
// Disallow all by default
|
|
match /{allPaths=**} {
|
|
allow read, write: if false
|
|
}
|
|
|
|
// Allow creation if size is not too big and resource does not exist
|
|
match /api/{fileName} {
|
|
|
|
allow read: if true;
|
|
|
|
}
|
|
}
|
|
|
|
}
|