How to add collaborators to a Firebase app?

FirebaseFirebase Console

Firebase Problem Overview


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?

Firebase Solutions


Solution 1 - Firebase

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.

Solution 2 - Firebase

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:

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

Solution 3 - Firebase

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

Solution 4 - Firebase

If you're adding a Project owner, an invite will be sent to the new user. However, no email invites are sent for the Project Editor/Viewer roles.

Solution 5 - Firebase

From Users and Permissions tab, now, at I/O 2019, it was announced a new option to give permissions.

You can now assign to a specific collaborator, access to Analytics, Develop, Quality and Grow, each one with Admin privileges or View privileges.

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAbhilash KishoreView Question on Stackoverflow
Solution 1 - FirebaseFrank van PuffelenView Answer on Stackoverflow
Solution 2 - FirebaseMike S.View Answer on Stackoverflow
Solution 3 - FirebaseFAntonyView Answer on Stackoverflow
Solution 4 - FirebaseSriramView Answer on Stackoverflow
Solution 5 - FirebaseGastón SaillénView Answer on Stackoverflow