angular / angular/angularfire

Multiple database under app

未關閉
#3,085 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
7.8k
分支
2.2k
平均合併
22 小時 28 分鐘
30 天內合併 PR
6

描述

Dear Angularfire!
I would like to ask if the application described below can be solved in any way.

So, I currently have 2 source codes with 2 firebase projects. Separate users and data for each project.
Thanks to a development, we are trying to unify the systems within the company.

**Consequently, the aim would be to:**

- `Application number one: We would not reach for this. Here will be the users and user permissions. for example: user.claims = 1 (admin)`
- `Delete users from the other application and set up the application 1 database. Only the admin can access this page.`
- `Application 1 would work in Firestore 1 and Application 2 would work in Firestore 2.`
- So far, I find this feasible.
- `How can I make sure in database 2 (firestore) to make sure the user has the right claims? Is it possible to move between projects in this way?`

Sorry if I'm not understandable, writing English is not my strength. If anything is not clear I will try to explain better.

**post: Most of Database 2 is completely public, unlike Database 1, which can only be viewed by a logged in user.**

![Screenshot_11](https://user-images.githubusercontent.com/32225709/144916898-d50267e7-08d4-48ed-8084-0ef929d28b1d.png)

貢獻指南

開啟貢獻指南

研究方向

該報告沒有指出任何儲存庫檔案、測試或進入點。首先檢視 AngularFire 設定,以及 Firebase 對多個專案的 authentication/claims 支援;當有明確定義的支援方案或限制時,即可視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, firebase, typescript
領域
authentication, database
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
15/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。