show user in show

restrict show actions
This commit is contained in:
2020-05-03 17:18:23 +02:00
committed by smuddy
parent 8619027fdb
commit 8b6ff52054
13 changed files with 114 additions and 34 deletions

View File

@@ -12,8 +12,9 @@ service cloud.firestore {
}
allow create: if request.resource.id == request.auth.uid;
allow read: if isUser(resource) || isAdmin();
allow list: if isUser(resource) || isAdmin();
allow write: if isUser(resource) || isAdmin();
allow read: if request.auth.uid != null;
}
match /songs/{song} {