This commit is contained in:
2025-06-13 12:11:05 +09:00
parent f6a2f1223f
commit 368c52029a
4 changed files with 13 additions and 5 deletions

View File

@@ -13,7 +13,13 @@ service cloud.firestore {
// Either the authenticated user's UID matches the document UID OR they have an elevated role
allow read, write: if request.auth.uid == docId || isElevatedRole();
}
// ✅ Allow anyone to read/write from wadizBoards
match /wadizes/{docId} {
allow read, write: if true;
}
// Match individual progress documents by UID
match /progresses/{userId} {
// Either the authenticated user's UID matches the document UID OR they have an elevated role