我不知道我需要在客户的 Google Cloud Platform 上拥有哪个角色才能执行以下操作: - 将 Firestore 数据库连接到其 Firebase 应用并进行管理。 - 从外部应用程序使用 Google Cloud Firestore API。
角色太多了...有什么帮助吗? :) 我已经拥有 Firebase Analytics 管理员,但当我尝试通过 Firebase 访问 Firestore 时,我收到消息“要管理 Cloud Firestore,请向项目所有者询问必要的权限”。
谢谢!
最佳答案
根据 Firebase 产品类别预定义角色 documentation ,对 Cloud Firestore 具有完全读/写访问权限的唯一角色是:
Firebase Develop Admin - roles/firebase.developAdmin
关于对 API 的访问,应用将能够使用 Firebase 身份验证 ID token 或 Google Identity OAuth 2.0 token 来访问它,如本 documentation 中所述。 .
关于firebase - Google Cloud 中 Firestore 管理的用户角色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60183684/