angular / angular/angularfire

Multiple database under app

Abierto
#3,085 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
7.8k
Forks
2.2k
Merge medio
22 h 28 min
PR fusionados (30 d)
6

Descripción

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)

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

El informe no menciona archivos del repositorio, pruebas ni puntos de entrada. Empieza revisando la configuración de AngularFire y la compatibilidad de Firebase con authentication/claims para varios proyectos; el trabajo estaría terminado cuando exista un enfoque compatible o una limitación claramente definida.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, firebase, typescript
Área
authentication, database
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
15/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.