| SQL | Table | Row | Column |
| NoSQL | Collection | Document | Field |
service cloud.firestore {
match /databases/{database}/documents {
match /ansatt/{userId} {
allow read: if request.auth.uid == userId;
allow write: if request.auth.uid != null;
}
match /{document=**} {
allow read, write;
}
}
}