Gabriel Kenji
Gabriel Kenji

Reputation: 13

Customized Role - Firebase console

i'm quite new to Firebase and currently having some trouble trying to implement a custom role for my project. Is there a way to set a role with only Database permissions (add and delete) and another one responsible only for Authentication? Thanks in advance!

Upvotes: 1

Views: 874

Answers (2)

Frank van Puffelen
Frank van Puffelen

Reputation: 599041

This level of granular access control is being rolled out in the Firebase console right now. If your project has it, you'll find it by:

  1. Click the ⚙︎ at the top left.
  2. Click Users and permissions. enter image description here
  3. Click the row of the user who's permission you want to change.
  4. Click the Roles dropdown.
  5. Click Assign Firebase roles
  6. Select the roles you want to give to the user. enter image description here

You'll note that the database role is still less granular than what you want, you can simply allow the user to edit the database or not.

Upvotes: 1

Sushant Somani
Sushant Somani

Reputation: 1500

You can customise access from project settings in firebase console. Search for settings icon at upper left corner and then go to project settings. There will be some option of users from where you can customise access.

Upvotes: 1

Related Questions