Add basic front end

This commit is contained in:
2022-10-01 20:39:51 +01:00
parent 115aaabd2f
commit 735dd7a954
9 changed files with 478 additions and 73 deletions

View File

@@ -61,6 +61,7 @@ service cloud.firestore {
}
allow update: if isFirstAiderPresent();
allow read: if true;
match /linkedFirstAiders/{firstAider} {
function getPossibleFields() {
@@ -87,8 +88,5 @@ service cloud.firestore {
allow read: if request.auth.uid == patient;
allow update: if request.auth.uid == patient && verifyUpdateFields(getPossibleUpdateFields());
}
match /{document=**} {
allow read, write: if false;
}
}
}