angular / angular/angularfire

Multiple database under app

Đang mở
#3,085 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
7.8k
Fork
2.2k
Merge trung bình
22 giờ 28 phút
Pull request đã merge (30 ngày)
6

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Báo cáo không nêu tệp, bài kiểm thử hoặc điểm vào nào trong repository. Hãy bắt đầu bằng việc xem xét cấu hình AngularFire và khả năng hỗ trợ authentication/claims của Firebase cho nhiều dự án; công việc được xem là hoàn tất khi có một phương án được hỗ trợ hoặc một giới hạn được xác định rõ ràng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, firebase, typescript
Lĩnh vực
authentication, database
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
15/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.