sparkletown/sparkle

View on GitHub
storage.rules

Summary

Maintainability
Test Coverage
rules_version = '2';
service firebase.storage {
  match /b/{bucket}/o {
    match /assets/{allPaths=**} {
        allow read;
    }
    match /users/{uid}/{allPaths=**} {
        allow read;
        allow write: if request.auth.uid == uid;
    }
  }
}