diff --git a/firestore.rules b/firestore.rules index 404821127..9ce36c3d7 100644 --- a/firestore.rules +++ b/firestore.rules @@ -89,5 +89,16 @@ service cloud.firestore { allow read, write: if request.auth.token.get("role", "user") == "admin" } } + match /transcriptions/{tid} { + // public, read-only + allow read: if true + allow write: if false + + // public, read-only + match /utterances/{uid} { + allow read: if true + allow write: if false + } + } } } \ No newline at end of file