mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-01-28 23:51:01 -05:00
11 lines
288 B
Plaintext
11 lines
288 B
Plaintext
rules_version = '2';
|
|
|
|
service firebase.storage {
|
|
match /b/{bucket}/o {
|
|
match /private-images/{userId}/{allPaths=**} {
|
|
allow read: if request.auth.uid == userId;
|
|
allow write: if request.auth.uid == userId && request.resource.size <= 20 * 1024 * 1024; // 20MB
|
|
}
|
|
}
|
|
}
|