Open exavolt opened 3 years ago
Another reference: Firebase Security Rules
service cloud.firestore {
match /databases/{database}/documents {
match /stories/{storyid} {
// Only the authenticated user who authored the document can read or write
allow read, write: if request.auth != null && request.auth.uid == resource.data.author;
}
}
}
Most relevant: CEL, Oso.
Relevant technologies:
An example case: