How to make cloud functions not bypass firestore security rules?

前端 未结 0 1064
太阳男子
太阳男子 2020-12-29 20:17

I have a set of rules in Firestore.

function enoughDownloadsLeft() {
    return get(/databases/$(database)/documents/customers/$(request.auth.uid)).data.avail         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题