前往主控台

Firebase product-level predefined roles

These roles grant full read/write or read-only access to specific Firebase products.

Assign these roles to your members using the GCP console.

Firebase App Distribution roles (beta)

Role Description Permissions
Firebase App Distribution Admin
roles/firebaseappdistro.admin
(beta)
Full read/write access to
App Distribution resources
Firebase App Distribution Viewer
roles/firebaseappdistro.viewer
(beta)
Read-only access to
App Distribution resources

Firebase Authentication roles

Role Description Permissions
Firebase Authentication Admin
roles/firebaseauth.admin
Full read/write access to
Authentication resources
Firebase Authentication Viewer
roles/firebaseauth.viewer
Read-only access to
Authentication resources

Firebase A/B Testing roles (beta)

Role Description Permissions
Firebase A/B Testing Admin
roles/firebaseabt.admin
(beta)
Full read/write access to
A/B Testing resources
Firebase A/B Testing Viewer
roles/firebaseabt.viewer
(beta)
Read-only access to
A/B Testing resources

Cloud Firestore roles

Find available Cloud Firestore roles in the GCP documentation.

To allow a project member to edit and publish security rules in the Firebase console or to deploy security rules via the Firebase CLI, you can create then assign them a custom role that includes the firebaserules.* permissions.

Cloud Storage roles

Find available Cloud Storage roles in the GCP documentation.

To allow a project member to edit and publish security rules in the Firebase console or to deploy security rules via the Firebase CLI, you can create then assign them a custom role that includes the firebaserules.* permissions.

Cloud Functions for Firebase roles

Find available Cloud Functions for Firebase roles in the GCP documentation.

Firebase Cloud Messaging roles

Role Description Permissions
Firebase Cloud Messaging Admin
roles/firebasenotifications.admin
Full read/write access to
Cloud Messaging resources
Firebase Cloud Messaging Viewer
roles/firebasenotifications.viewer
Read-only access to
Cloud Messaging resources

Firebase Crashlytics roles

Role Description Permissions
Firebase Crashlytics Admin
roles/firebasecrashlytics.admin
Full read/write access to
Crashlytics resources
Firebase Crashlytics Viewer
roles/firebasecrashlytics.viewer
Read-only access to
Crashlytics resources
Role Description Permissions
Firebase Dynamic Links Admin
roles/firebasedynamiclinks.admin
Full read/write access to
Dynamic Links resources
Firebase Dynamic Links Viewer
roles/firebasedynamiclinks.viewer
Read-only access to
Dynamic Links resources

Firebase Hosting roles

Role Description Permissions
Firebase Hosting Admin
roles/firebasehosting.admin
Full read/write access to
Hosting resources
Firebase Hosting Viewer
roles/firebasehosting.viewer
Read-only access to
Hosting resources

Firebase In-App Messaging roles (beta)

Role Description Permissions
Firebase In-App Messaging Admin
roles/firebaseinappmessaging.admin
(beta)
Full read/write access to
In-App Messaging resources
Firebase In-App Messaging Viewer
roles/firebaseinappmessaging.viewer
(beta)
Read-only access to
In-App Messaging resources

ML Kit for Firebase roles (beta)

Role Description Permissions
ML Kit for Firebase Admin
roles/firebaseml.admin
(beta)
Full read/write access to
ML Kit resources
ML Kit for Firebase Viewer
roles/firebaseml.viewer
(beta)
Read-only access to
ML Kit resources

Firebase Performance Monitoring roles

Role Description Permissions
Firebase Performance Monitoring Admin
roles/firebaseperformance.admin
Full read/write access to
Performance Monitoring resources
Firebase Performance Monitoring Viewer
roles/firebaseperformance.viewer
Read-only access to
Performance Monitoring resources

Firebase Predictions roles

Role Description Permissions
Firebase Predictions Admin
roles/firebasepredictions.admin
Full read/write access to
Predictions resources
Firebase Predictions Viewer
roles/firebasepredictions.viewer
Read-only access to
Predictions resources

Firebase Realtime Database roles

Role Description Permissions
Firebase Realtime Database Admin
roles/firebasedatabase.admin
Full read/write access to
Realtime Database resources
Firebase Realtime Database Viewer
roles/firebasedatabase.viewer
Read-only access to
Realtime Database resources

Firebase Remote Config roles

Role Description Permissions
Firebase Remote Config Admin
roles/cloudconfig.admin
Full read/write access to
Remote Config resources
Firebase Remote Config Viewer
roles/cloudconfig.viewer
Read-only access to
Remote Config resources

Firebase Test Lab roles

Firebase Test Lab requires access to Cloud Storage buckets, so it requires a very specific set of permissions that aren't all included in the standard Firebase predefined roles. To grant access to Test Lab, use one of the solutions described in the Firebase Test Lab permissions section.