Код: Выделить всё
deleteDoc(doc(db, 'users', uid));
< /code>
Правило в Cloud Firestore: < /p>
match /users/{userId}/{documents=**} {
allow delete, read, write: if request.auth.uid == userId; // which is the case
}
insole ormerse:
in on uncent (blocte> in in uncoremport (in in in uncorember (in in insorember in in in uncent in on uncesh FirebaseError: отсутствует или недостаточно
permissions.
< /blockquote>
Подробнее здесь: https://stackoverflow.com/questions/797 ... ns-via-web
Мобильная версия