gpt4 book ai didi

firebase - 在 Google Cloud 中管理 Firestore 的用户角色

转载 作者:行者123 更新时间:2023-12-04 10:35:58 24 4
gpt4 key购买 nike

我无法弄清楚我需要在我的客户的 Google Cloud Platform 上扮演哪个角色才能执行以下操作:
- 将 Firestore 数据库连接并管理到他们的 Firebase 应用。
- 从外部应用程序使用 Google Cloud Firestore API。

有这么多角色......有什么帮助吗? :)
我已经有了 Firebase Analytics Admin,但是当我尝试通过 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 身份验证, this link可能对 OAuth 检查有所帮助 this link .

如果这对您有帮助,请告诉我。

关于firebase - 在 Google Cloud 中管理 Firestore 的用户角色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60183684/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com