angular / angular/angularfire

Multiple database under app

オープン
#3,085 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
22時間 28分
マージ済み PR(30日)
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
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。