You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Craft rules based on data in your Firestore database
// allow write: if firestore.get(
// /databases/(default)/documents/users/$(request.auth.uid)).data.isAdmin;
service firebase.storage {
match /b/{bucket}/o {
match /users/{userId}/{allPaths=**} {
allow read;
allow write: if userId == request.auth.uid;
}
}
}
Hi Jeff, Great course!!
Would it be possible to share the rules you used for firestore and storage please?
The text was updated successfully, but these errors were encountered: