Referencing Firebase realtime database data through firestore security rules

前端 未结 1 1195
死守一世寂寞
死守一世寂寞 2021-01-27 13:40

I would like to use data in the realtime database to allow user access in the firestore database. Is it possible to reference nodes in the realtime database from the firestore s

相关标签:
1条回答
  • 2021-01-27 14:29

    It is currently not possible to cross between database products like this in security rules. Please feel free to file a feature request for this.

    You can, however, write code to run on Cloud Functions that deals with database changes after the change has happened, and undo or restrict the change there.

    0 讨论(0)
提交回复
热议问题