Firebase 預先定義角色
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Firebase 預先定義角色是最合適的 Firebase 專屬角色,
可以啟用比基本角色 (過去稱為
「原始」角色)。您可以為每位專案成員指派多個角色。
透過預先定義的角色,您可以授予
存取層級 (管理員與檢視者)
以及廣泛的存取方式 (個別產品和產品群組)。
請注意,在必要時,預先定義的角色會自動納入下列權限:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["**Firebase predefined roles** are the curated Firebase-specific roles that\nenable more granular access control than the basic roles (formerly called\n\"primitive\" roles). You can assign more than one role to each project member.\n\nBy using predefined roles, you can grant different\n*access levels* (Admin versus Viewer)\nas well as *breadth of access* (individual products versus groups of products).\n\n- [**Firebase-level roles**](/docs/projects/iam/roles-predefined-all-products):\n Roles which grant full read/write or read-only access to *all* the Firebase\n products.\n\n You can assign the Firebase-level roles using the\n [Firebase console](//console.firebase.google.com/project/_/settings/iam).\n\n- [**Product-category roles**](/docs/projects/iam/roles-predefined-category):\n Roles which grant full read/write or read-only access to groups of products.\n They are structured around Google Analytics and general product\n categories.\n\n You can assign the Firebase product-category roles using the\n [Firebase console](//console.firebase.google.com/project/_/settings/iam).\n\n- [**Product-level roles**](/docs/projects/iam/roles-predefined-product):\n Roles which grant full read/write or read-only access to *specific* Firebase\n products.\n\n You can assign the Firebase product-level roles using the\n [Google Cloud console](//cloud.google.com/iam/docs/granting-changing-revoking-access).\n\nNote that, when needed, predefined roles automatically include permissions\nwhich are:\n\n- [Required to use any Firebase product or service.](/docs/projects/iam/permissions#required_all_roles)\n\n- [Required to perform some Firebase service-specific actions.](/docs/projects/iam/permissions#required_firebase_service)\n\n- [Required to perform some Firebase management-specific actions.](/docs/projects/iam/permissions#required_firebase_management)"]]