Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add collaborators to a Firebase app?

On the latest version of Firebase (Announced during Google I/O 2016), how do I add other people to my project or app whom I want to collaborate with? I came across IAM roles through Settings > Permissions. Is this the right way? If I add person there and assign a role, say Editor, will he/she be notified about it through email? Will a request be sent or will they be added directly to that role?

like image 972
Abhilash Kishore Avatar asked Oct 05 '22 16:10

Abhilash Kishore


People also ask

How many users can you have on Firebase free?

There's a limit of around 30 client IDs that can be created within a single project. You should ensure that all Firebase Apps within a single Firebase project are platform variants of the same application from an end-user perspective.

How do I connect two apps to Firebase?

From Android Studio go to Tools->Firebase and create, add apps to project of choice :) Save this answer. Show activity on this post. Click on the Connect to Firebase button in the Assistant, which will show you a dialog allowing you to select an existing Database or create a new database.


3 Answers

To give people access to your Firebase project, take these steps:

  1. Select your project in the new Firebase Console
  2. In the top left, next to the project name, click the settings/cog wheel icon From the firebase console
  3. Click Users and Permissions
  4. Click Add member
  5. Enter the email address of the user to add and select the appropriate role as per your requirement
  6. Click the second Add member button

The newly added users will get an email with the subject [Firebase] Invitation to join project and an option to Accept Invite in the body. Be certain to let them know that you added them so that they can accept the invite.

like image 146
Frank van Puffelen Avatar answered Nov 03 '22 16:11

Frank van Puffelen


UPDATE 6/18/2018 - changes to Cloud Console and Google's functionality, the original solution may no longer work as shared in comments. For a recent project, I was able to add other users and permissions via Firebase console as indicated below.

Manage users in Firebase Console


Old Solution

Originally you had to choose Editor but you do not have to any more. There are new roles added to Google Cloud IAM in the other section, namely the Firebase Rules System role.

Firebase Rules Admin Role

Assign Role To User

If you add a user to a Google Cloud project using IAM and assign them this role, they can access Firebase project by visiting:

  • https://console.firebase.google.com

The authorized project(s) should appear and they can access, without access to the rest of the Google Cloud project.

like image 43
Mike S. Avatar answered Nov 03 '22 16:11

Mike S.


In latest version of the console adding is in a bit different.

  1. Go To Your Project -> Project Overview -> Users and Permissions . This will open up new Pop Up.

  2. Now click on the +Add to add the Members.

  3. Now Add Email Id of the member. Now below that choose from the dropdown Project -> Collaborator as shown below and Save. Thats all! You are done.


enter image description here

like image 33
FAntony Avatar answered Nov 03 '22 15:11

FAntony