Firebase 產品層級的預先定義角色
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
這些角色授予特定 Firebase 的完整讀取/寫入或唯讀存取權
很少直接解答該如何打造產品
使用 Google Cloud 控制台為專案成員指派這些角色。
Firebase App Check 個角色
角色 |
說明 |
權限 |
Firebase App Check 管理員
roles/firebaseappcheck.admin
|
具備 App Check資源的完整讀取/寫入權限
|
App Check 管理員
權限
firebaseappcheck.appAttestConfig.get
firebaseappcheck.appAttestConfig.update
firebaseappcheck.appCheckTokens.verify
firebaseappcheck.debugTokens.get
firebaseappcheck.debugTokens.update
firebaseappcheck.deviceCheckConfig.get
firebaseappcheck.deviceCheckConfig.update
firebaseappcheck.playIntegrityConfig.get
firebaseappcheck.playIntegrityConfig.update
firebaseappcheck.recaptchaEnterpriseConfig.get
firebaseappcheck.recaptchaEnterpriseConfig.update
firebaseappcheck.recaptchaV3Config.get
firebaseappcheck.recaptchaV3Config.update
firebaseappcheck.safetyNetConfig.get
firebaseappcheck.safetyNetConfig.update
firebaseappcheck.services.get
firebaseappcheck.services.update
|
Firebase App Check 檢視者
roles/firebaseappcheck.viewer
|
具備 App Check資源的唯讀存取權
|
App Check 檢視者
權限
firebaseappcheck.appAttestConfig.get
firebaseappcheck.debugTokens.get
firebaseappcheck.deviceCheckConfig.get
firebaseappcheck.playIntegrityConfig.get
firebaseappcheck.recaptchaEnterpriseConfig.get
firebaseappcheck.recaptchaV3Config.get
firebaseappcheck.safetyNetConfig.get
firebaseappcheck.services.get
|
Firebase App Check 權杖驗證器
roles/firebaseappcheck.tokenVerifier
|
具備「App Check」的權杖驗證功能存取權
|
App Check 權杖驗證工具權限
firebaseappcheck.appCheckTokens.verify
|
Firebase App Distribution 個角色
角色 |
說明 |
權限 |
Firebase App Distribution 管理員
roles/firebaseappdistro.admin
|
具備 App Distribution 資源的完整讀取/寫入權限 |
App Distribution 管理員權限
firebaseappdistro.releases.list
firebaseappdistro.releases.update
firebaseappdistro.testers.list
firebaseappdistro.testers.update
firebaseappdistro.groups.list
firebaseappdistro.groups.update
|
Firebase App Distribution 檢視者
roles/firebaseappdistro.viewer
|
具備 App Distribution資源的唯讀存取權
|
App Distribution 檢視者
權限
firebaseappdistro.releases.list
firebaseappdistro.testers.list
firebaseappdistro.groups.list
|
Firebase App Hosting 個角色
角色 |
說明 |
權限 |
Firebase App Hosting Compute Runner
roles/firebaseapphosting.computeRunner
|
建構及執行 App Hosting 後端所需的最低存取權。通常會授予服務帳戶。
|
App Hosting Compute 執行器
權限
|
Firebase App Hosting 管理員
roles/firebaseapphosting.admin
|
具備 App Hosting資源的完整讀取/寫入權限
|
App Hosting 管理員權限
firebaseapphosting.backends.create
firebaseapphosting.backends.delete
firebaseapphosting.backends.get
firebaseapphosting.backends.list
firebaseapphosting.backends.update
firebaseapphosting.builds.create
firebaseapphosting.builds.delete
firebaseapphosting.builds.get
firebaseapphosting.builds.list
firebaseapphosting.builds.update
firebaseapphosting.domains.create
firebaseapphosting.domains.delete
firebaseapphosting.domains.get
firebaseapphosting.domains.list
firebaseapphosting.domains.update
firebaseapphosting.locations.get
firebaseapphosting.locations.list
firebaseapphosting.operations.cancel
firebaseapphosting.operations.delete
firebaseapphosting.operations.get
firebaseapphosting.operations.list
firebaseapphosting.rollouts.create
firebaseapphosting.rollouts.delete
firebaseapphosting.rollouts.get
firebaseapphosting.rollouts.list
firebaseapphosting.rollouts.update
firebaseapphosting.traffic.get
firebaseapphosting.traffic.list
firebaseapphosting.traffic.update
|
Firebase App Hosting Viewer
roles/firebaseapphosting.viewer
|
具備 App Hosting資源的唯讀存取權
|
App Hosting 檢視者
權限
firebaseapphosting.backends.get
firebaseapphosting.backends.list
firebaseapphosting.builds.get
firebaseapphosting.builds.list
firebaseapphosting.domains.get
firebaseapphosting.domains.list
firebaseapphosting.locations.get
firebaseapphosting.locations.list
firebaseapphosting.operations.list
firebaseapphosting.operations.get
firebaseapphosting.rollouts.get
firebaseapphosting.rollouts.list
firebaseapphosting.traffic.get
firebaseapphosting.traffic.list
|
Firebase App Hosting開發人員
roles/firebaseapphosting.developer
|
具備 App Hosting 後端、版本和發布資源的完整讀取/寫入權限。 |
App Hosting開發人員
權限
firebaseapphosting.backends.update
firebaseapphosting.builds.create
firebaseapphosting.builds.delete
firebaseapphosting.builds.update
firebaseapphosting.operations.delete
firebaseapphosting.operations.cancel
firebaseapphosting.rollouts.create
firebaseapphosting.rollouts.delete
firebaseapphosting.rollouts.update
firebaseapphosting.traffic.update
|
Firebase Authentication 個角色
角色 |
說明 |
權限 |
Firebase Authentication 管理員
roles/firebaseauth.admin
|
具備 Authentication資源的完整讀取/寫入權限
|
Authentication 管理員
權限
firebaseauth.configs.create
firebaseauth.configs.get
firebaseauth.configs.getHashConfig
firebaseauth.configs.getSecret
firebaseauth.configs.update
firebaseauth.users.create
firebaseauth.users.createSession
firebaseauth.users.delete
firebaseauth.users.get
firebaseauth.users.sendEmail
firebaseauth.users.update
|
Firebase Authentication 檢視者
roles/firebaseauth.viewer
|
具備 Authentication資源的唯讀存取權
|
Authentication 檢視者
權限
firebaseauth.configs.get
firebaseauth.users.get
|
Firebase A/B Testing 角色 (Beta 版)
角色 |
說明 |
權限 |
Firebase A/B Testing 管理員
roles/firebaseabt.admin
(Beta 版)
|
具備 A/B Testing資源的完整讀取/寫入權限
|
A/B Testing 管理員
權限
firebaseabt.experimentresults.get
firebaseabt.experiments.create
firebaseabt.experiments.delete
firebaseabt.experiments.get
firebaseabt.experiments.list
firebaseabt.experiments.update
firebaseabt.projectmetadata.get
|
Firebase A/B Testing 檢視者
roles/firebaseabt.viewer
(Beta 版)
|
具備 A/B Testing 資源的唯讀存取權 |
A/B Testing 檢視者
權限
firebaseabt.experimentresults.get
firebaseabt.experiments.get
firebaseabt.experiments.list
firebaseabt.projectmetadata.get
|
Cloud Firestore 個角色
您可以在以下頁面尋找可用的 Cloud Firestore 角色:
Google Cloud 說明文件。
如要允許專案成員編輯及發布以下項目的安全性規則:
Firebase 個控制台或透過 Firebase CLI 部署安全性規則,您必須
就可以為使用者指派自訂角色
其中包含
firebaserules.*
權限。
Cloud Storage 個角色
請參閱 Google Cloud 說明文件,瞭解可用的 Cloud Storage 角色。
如要允許專案成員編輯及發布以下項目的安全性規則:
Firebase 個控制台或透過 Firebase CLI 部署安全性規則,您必須
就可以為使用者指派自訂角色
其中包含
firebaserules.*
權限。
Cloud Functions for Firebase 個角色
您可以在以下頁面尋找可用的 Cloud Functions for Firebase 角色:
Google Cloud 說明文件。
Firebase 通訊廣告活動角色
這些角色適用於「Firebase Cloud Messaging」和
Firebase In-App Messaging。
角色 |
說明 |
權限 |
Firebase 通訊廣告活動管理員
roles/firebasemessagingcampaigns.admin
|
具備下列廣告活動資源的完整讀取/寫入權限:
Cloud Messaging 和 In-App Messaging
|
Firebase 通訊廣告活動管理員
權限
firebasemessagingcampaigns.campaigns.create
firebasemessagingcampaigns.campaigns.delete
firebasemessagingcampaigns.campaigns.get
firebasemessagingcampaigns.campaigns.list
firebasemessagingcampaigns.campaigns.update
firebasemessagingcampaigns.campaigns.start
firebasemessagingcampaigns.campaigns.stop
|
Firebase 通訊廣告活動檢視器
roles/firebasemessagingcampaigns.viewer
|
「Cloud Messaging」和「In-App Messaging」 廣告活動資源的唯讀存取權
|
Firebase 通訊廣告活動檢視者權限
firebasemessagingcampaigns.campaigns.get
firebasemessagingcampaigns.campaigns.list
|
Firebase Cloud Messaging 個角色
角色 |
說明 |
權限 |
Firebase Cloud Messaging 管理員
roles/firebasenotifications.admin
|
具備 Cloud Messaging資源的完整讀取/寫入權限
|
Cloud Messaging 管理員權限
firebasenotifications.messages.create
firebasenotifications.messages.delete
firebasenotifications.messages.get
firebasenotifications.messages.list
firebasenotifications.messages.update
|
Firebase Cloud Messaging 檢視者
roles/firebasenotifications.viewer
|
具備 Cloud Messaging 資源的唯讀存取權 |
Cloud Messaging 檢視者
權限
firebasenotifications.messages.get
firebasenotifications.messages.list
|
Firebase Crashlytics 個角色
角色 |
說明 |
權限 |
Firebase Crashlytics 管理員
roles/firebasecrashlytics.admin
|
具備 Crashlytics資源的完整讀取/寫入權限
|
Crashlytics 管理員
權限
firebasecrashlytics.config.get
firebasecrashlytics.config.update
firebasecrashlytics.data.get
firebasecrashlytics.issues.get
firebasecrashlytics.issues.list
firebasecrashlytics.issues.update
firebasecrashlytics.sessions.get
|
Firebase Crashlytics 檢視者
roles/firebasecrashlytics.viewer
|
具備 Crashlytics資源的唯讀存取權
|
Crashlytics Viewer 權限
firebasecrashlytics.config.get
firebasecrashlytics.data.get
firebasecrashlytics.issues.get
firebasecrashlytics.issues.list
firebasecrashlytics.sessions.get
|
Firebase Dynamic Links 個角色
角色 |
說明 |
權限 |
Firebase Dynamic Links 管理員
roles/firebasedynamiclinks.admin
|
具備 Dynamic Links 資源的完整讀取/寫入權限 |
Dynamic Links 管理員
權限
firebasedynamiclinks.destinations.list
firebasedynamiclinks.destinations.update
firebasedynamiclinks.domains.create
firebasedynamiclinks.domains.delete
firebasedynamiclinks.domains.get
firebasedynamiclinks.domains.list
firebasedynamiclinks.domains.update
firebasedynamiclinks.links.create
firebasedynamiclinks.links.get
firebasedynamiclinks.links.list
firebasedynamiclinks.links.update
firebasedynamiclinks.stats.get
|
Firebase Dynamic Links 檢視者
roles/firebasedynamiclinks.viewer
|
具備 Dynamic Links資源的唯讀存取權
|
Dynamic Links 檢視者
權限
firebasedynamiclinks.destinations.list
firebasedynamiclinks.domains.get
firebasedynamiclinks.domains.list
firebasedynamiclinks.links.get
firebasedynamiclinks.links.list
firebasedynamiclinks.stats.get
|
Firebase Extensions 發布商角色
角色 |
說明 |
權限 |
Firebase Extensions 發布商 - 擴充功能管理員
roles/firebaseextensionspublisher.extensionsAdmin
(Beta 版)
|
上傳、發布及查看 Firebase Extensions的詳細資料和指標
|
Firebase Extensions 發布商 - 擴充功能管理員
權限
firebaseextensionspublisher.extensions.create
firebaseextensionspublisher.extensions.delete
firebaseextensionspublisher.extensions.get
firebaseextensionspublisher.extensions.list
|
Firebase Extensions 發布商 - 擴充功能檢視者
roles/firebaseextensionspublisher.extensionsViewer
(Beta 版)
|
查看由發布商上傳的 Firebase Extensions 詳細資料和指標
|
Firebase Extensions 發布者 - 擴充功能檢視者 權限
firebaseextensionspublisher.extensions.get
firebaseextensionspublisher.extensions.list
|
Firebase Hosting 個角色
角色 |
說明 |
權限 |
Firebase Hosting 管理員
roles/firebasehosting.admin
|
具備 Hosting資源的完整讀取/寫入權限
|
Hosting 管理員
權限
firebasehosting.sites.create
firebasehosting.sites.delete
firebasehosting.sites.get
firebasehosting.sites.list
firebasehosting.sites.update
|
Firebase Hosting 檢視者
roles/firebasehosting.viewer
|
具備 Hosting資源的唯讀存取權
|
Hosting 檢視者
權限
firebasehosting.sites.get
firebasehosting.sites.list
|
Firebase In-App Messaging 角色 (Beta 版)
角色 |
說明 |
權限 |
Firebase In-App Messaging 管理員
roles/firebaseinappmessaging.admin
(Beta 版)
|
具備 In-App Messaging資源的完整讀取/寫入權限
|
In-App Messaging 管理員
權限
firebaseinappmessaging.campaigns.create
firebaseinappmessaging.campaigns.delete
firebaseinappmessaging.campaigns.get
firebaseinappmessaging.campaigns.list
firebaseinappmessaging.campaigns.update
|
Firebase In-App Messaging 檢視者
roles/firebaseinappmessaging.viewer
(Beta 版)
|
具備 In-App Messaging資源的唯讀存取權
|
In-App Messaging 檢視者
權限
firebaseinappmessaging.campaigns.get
firebaseinappmessaging.campaigns.list
|
Firebase ML 角色 (Beta 版)
角色 |
說明 |
權限 |
Firebase ML 管理員
roles/firebaseml.admin
(Beta 版)
|
具備 Firebase ML資源的完整讀取/寫入權限
|
Firebase ML 管理員
權限
firebaseml.models.create
firebaseml.models.get
firebaseml.models.list
firebaseml.models.update
firebaseml.models.delete
firebaseml.modelversions.create
firebaseml.modelversions.get
firebaseml.modelversions.list
firebaseml.modelversions.update
firebaseml.modelversions.delete
firebaseml.compressionjobs.create
firebaseml.compressionjobs.get
firebaseml.compressionjobs.list
firebaseml.compressionjobs.update
firebaseml.compressionjobs.delete
firebaseml.compressionjobs.start
|
Firebase ML 檢視者
roles/firebaseml.viewer
(Beta 版)
|
具備 Firebase ML資源的唯讀存取權
|
Firebase ML Viewer 權限
firebaseml.models.get
firebaseml.models.list
firebaseml.modelversions.get
firebaseml.modelversions.list
firebaseml.compressionjobs.get
firebaseml.compressionjobs.list
|
角色 |
說明 |
權限 |
Firebase Performance Monitoring 管理員
roles/firebaseperformance.admin
|
具備 Performance Monitoring 資源的完整讀取/寫入權限
設定並接收 Performance Monitoring 快訊
|
Performance Monitoring 管理員權限
firebaseperformance.config.create
firebaseperformance.config.delete
firebaseperformance.config.update
firebaseperformance.data.get
|
Firebase Performance Monitoring 檢視者
roles/firebaseperformance.viewer
|
具備 Performance Monitoring資源的唯讀存取權
|
Performance Monitoring 檢視者
權限
firebaseperformance.data.get
|
Firebase Realtime Database 個角色
角色 |
說明 |
權限 |
Firebase Realtime Database 管理員
roles/firebasedatabase.admin
|
具備 Realtime Database資源的完整讀取/寫入權限
|
Realtime Database 管理員
權限
firebasedatabase.instances.create
firebasedatabase.instances.get
firebasedatabase.instances.list
firebasedatabase.instances.update
|
Firebase Realtime Database 檢視者
roles/firebasedatabase.viewer
|
具備 Realtime Database資源的唯讀存取權
|
Realtime Database 檢視者
權限
firebasedatabase.instances.get
firebasedatabase.instances.list
|
Firebase Remote Config 個角色
角色 |
說明 |
權限 |
Firebase Remote Config 管理員
roles/cloudconfig.admin
|
具備 Remote Config 資源的完整讀取/寫入權限 |
Remote Config 管理員
權限
cloudconfig.configs.get
cloudconfig.configs.update
|
Firebase Remote Config 檢視者
roles/cloudconfig.viewer
|
具備 Remote Config資源的唯讀存取權
|
Remote Config 檢視者
權限
cloudconfig.configs.get
|
Firebase Test Lab 個角色
「Firebase Test Lab」需要 Cloud Storage 個值區的存取權,因此
需要一組非常具體的權限
標準 Firebase 預先定義角色如要授予 Test Lab 存取權,請使用「Firebase Test Lab 權限」一節所述的其中一種解決方案。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-12 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{"lastModified": "\u4e0a\u6b21\u66f4\u65b0\u6642\u9593\uff1a2024-09-12 (\u4e16\u754c\u6a19\u6e96\u6642\u9593)\u3002"}
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-09-12 (世界標準時間)。"]]