feat(admin): grant full admin permissions in app and security rules to nicolas@gruber.info
Build Android APK / Build Release APKs (push) Successful in 16m30s
Build Android APK / Build Release APKs (push) Successful in 16m30s
This commit is contained in:
+2
-1
@@ -15,7 +15,8 @@ service firebase.storage {
|
||||
// Nur der Verfasser oder ein Admin darf sein Foto löschen
|
||||
allow delete: if request.auth != null && (
|
||||
request.auth.uid == userId ||
|
||||
request.auth.token.admin == true
|
||||
request.auth.token.admin == true ||
|
||||
request.auth.token.email == 'nicolas@gruber.info'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user