Skip to content

Commit

Permalink
[fix] ゲームモードの説明の文字列が左右余白なしになっている点を修正
Browse files Browse the repository at this point in the history
[fix] SCSS:クラス"u-smallerChara c-title__sub"においてフォントサイズを修正
[fix] validatorの余分なdefaultPropertiesを削除
[fix] .firebaseを削除
[fix] APICallerのoriginを修正
  • Loading branch information
Appbird committed Aug 12, 2021
1 parent 204e031 commit d46b865
Show file tree
Hide file tree
Showing 28 changed files with 1,429 additions and 247 deletions.
45 changes: 0 additions & 45 deletions .firebase/hosting.cHVibGlj.cache

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ secret/
build/js
public/js
public/icon/IcooonMono
firebase-debug.log
firebase-debug.log
.firebase
27 changes: 25 additions & 2 deletions firestore.rules
Original file line number Diff line number Diff line change
@@ -1,8 +1,31 @@
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if true;

function isCommitteeMember(userID){
return exists(/databases/$(database)/documents/runners/$(userID)) == true && get(/databases/$(database)/documents/runners/$(userID)/limitedWrite/onlyServerOperation).data.isCommitteeMember == true
}

match /runners/{userID}{
allow read: if true;
allow write: if request.auth != null && request.auth.uid == userID;

match /limitedWrite/onlyServerOperation{
allow read: if true;
allow write: if false;
}
match /notifications/{notificationID}{
allow read: if true;
allow write: if false;
}

}


match /titles/{document=**} {
allow read: if true;
allow write: if isCommitteeMember(request.auth.uid);
}

}
}
Loading

0 comments on commit d46b865

Please sign in to comment.