rules_version = '2';

service firebase.storage {
  match /b/{bucket}/o {
    match /screenshots/{email}/{allPaths=**} {
      allow read, write: if request.auth != null && email == request.auth.token.email
      allow read, write: if false;
    }
    match /{allPaths=**} {
      allow read, write: if false;
    }
  }
}

