Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Quyền được cấp cho các thành viên trong dự án thông qua
vai trò. Mỗi vai trò là tập hợp
quyền. Khi chỉ định vai trò cho một thành viên dự án, bạn sẽ cấp cho thành viên dự án đó tất cả các quyền mà vai trò đó chứa.
Firebase IAM hỗ trợ các loại vai trò sau:
Vai trò cơ bản: Vai trò Chủ sở hữu, Người chỉnh sửa và Người xem cơ bản (trước đây gọi là vai trò "gốc").
Vai trò được xác định trước:
Các vai trò dành riêng cho Firebase được chọn giúp kiểm soát quyền truy cập chi tiết hơn so với
các vai trò cơ bản. Firebase cung cấp:
Vai trò cấp Firebase: Vai trò cấp quyền truy cập toàn quyền đọc/ghi hoặc chỉ đọc vào tất cả sản phẩm Firebase.
Vai trò danh mục sản phẩm: Vai trò cấp quyền đọc/ghi đầy đủ hoặc chỉ có thể đọc cho các nhóm sản phẩm. Các danh mục này được sắp xếp xung quanh Google Analytics và các danh mục sản phẩm chung.
Vai trò cấp sản phẩm: Vai trò cấp quyền truy cập toàn quyền đọc/ghi hoặc chỉ đọc vào một số sản phẩm Firebase.
Vai trò tuỳ chỉnh: Được tuỳ chỉnh hoàn toàn
mà bạn tạo để điều chỉnh một nhóm quyền đáp ứng các yêu cầu
của tổ chức bạn.
Quản lý thành viên dự án và vai trò của họ
Xem thành viên dự án và vai trò của họ
Bạn có thể xem nhiều thành viên trong dự án và vai trò của họ trong thẻ Người dùng và quyền của mục settings > Cài đặt dự án trong bảng điều khiển Firebase. Xin lưu ý những điều sau:
Bảng điều khiển Firebase chỉ liệt kê những thành viên dự án được chỉ định một vai trò cơ bản (Chủ sở hữu, Người chỉnh sửa, Người xem) hoặc một vai trò được xác định trước của Firebase.
Các thành viên dự án được liệt kê trong thẻ này là những thành viên dự án duy nhất có quyền truy cập vào dự án Firebase trong bảng điều khiển Firebase.
Bảng điều khiển Firebase không liệt kê các thành viên dự án là tài khoản dịch vụ. Xem các thành viên dự án này trong trang IAM của bảng điều khiển Google Cloud.
Ngoài ra, bạn có thể xem tất cả thành viên dự án và vai trò của họ trong
trang IAM
của bảng điều khiển Google Cloud.
Chỉ định vai trò cho một thành viên dự án
Để quản lý (các) vai trò được chỉ định cho từng thành viên dự án, bạn phải là Chủ sở hữu dự án Firebase (hoặc được chỉ định một vai trò có quyền resourcemanager.projects.setIamPolicy).
Bạn có thể chỉ định và quản lý vai trò ở những nơi sau đây:
Bảng điều khiển của Google Cloud cung cấp một bộ công cụ đa dạng để chỉ định vai trò cho các thành viên của dự án
trong
trang IAM. Trong bảng điều khiển Cloud, bạn cũng có thể tạo
và quản lý
vai trò tuỳ chỉnh, cũng như cung cấp tài khoản dịch vụ
quyền truy cập vào dự án của bạn.
Xin lưu ý rằng trong bảng điều khiển Google Cloud, các thành phần của dự án được gọi là người dùng chính.
Nếu Chủ sở hữu dự án của bạn không thể thực hiện nhiệm vụ của Chủ sở hữu nữa (ví dụ: người
đã rời khỏi công ty) và dự án của bạn không được quản lý thông qua tổ chức Google Cloud (xem phần tiếp theo
đoạn), bạn có thể
liên hệ với Nhóm hỗ trợ Firebase
và trao đổi với họ về cách yêu cầu quyền truy cập vào dự án Firebase.
Xin lưu ý rằng nếu dự án Firebase thuộc tổ chức Google Cloud, thì dự án đó có thể không có Chủ sở hữu.
Nếu bạn không tìm thấy Chủ sở hữu cho dự án Firebase, hãy liên hệ với người quản lý tổ chức Google Cloud của bạn để chỉ định Chủ sở hữu cho dự án.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["**Permissions are granted to your project members via\n[*roles*](/docs/projects/iam/roles).** A role is a collection of\n[*permissions*](/docs/projects/iam/permissions). When you assign a role to a\nproject member, you grant that project member all the permissions that the role\ncontains.\n\nFirebase IAM supports the following types of roles:\n\n- **[Basic roles](/docs/projects/iam/roles-basic)** :\n Fundamental **Owner** , **Editor** , and **Viewer** roles (formerly called\n \"primitive\" roles).\n\n- **[Predefined roles](/docs/projects/iam/roles-predefined)**:\n Curated Firebase-specific roles that enable more granular access control than\n the basic roles. Firebase offers:\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\n Firebase products.\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\n products. They are structured around Google Analytics and general\n product categories.\n\n - [**Product-level roles**](/docs/projects/iam/roles-predefined-product):\n Roles which grant full read/write or read-only access to *specific*\n Firebase products.\n\n- **[Custom roles](/docs/projects/iam/roles-custom)**: Fully customized\n roles that you create to tailor a set of permissions that meet the specific\n requirements of your organization.\n\nManage project members and their roles **Note** : Access changes, such as assigning a role or denying a permission, may take several minutes to take effect across all systems. For details, see [Access change propagation](https://cloud.google.com/iam/docs/access-change-propagation) in the Google Cloud documentation.\n\nView project members and their roles You can view many of your project members and their roles in the [*Users and permissions* tab](https://console.firebase.google.com/project/_/settings/iam) of settings \\\u003e **Project settings** in the Firebase console. Note the following:\n\n- The Firebase console only lists project members assigned a [basic role](/docs/projects/iam/roles-basic) (Owner, Editor, Viewer) or a [Firebase predefined role](/docs/projects/iam/roles-predefined). The project members listed in this tab are the only project members who have access to the Firebase project in the Firebase console.\n- The Firebase console does not list project members that are service accounts. View these project members in the [*IAM* page](https://console.cloud.google.com/iam-admin/iam) of the Google Cloud console.\n\nAlternatively, you can view *all* of your project members and their roles in the [*IAM* page](https://console.cloud.google.com/iam-admin/iam) of the Google Cloud console.\n\nAssign a role to a project member\n\nTo manage the role(s) assigned to each project member, you must be an Owner of the Firebase\nproject (or be assigned a role with the permission\n`resourcemanager.projects.setIamPolicy`).\n\nHere are the places where you can assign and manage roles:\n\n- The Firebase console offers a simplified way to assign roles to project members in the [*Users and permissions* tab](https://console.firebase.google.com/project/_/settings/iam) of settings \\\u003e **Project settings** . In the Firebase console, you can assign any of the [basic roles](/docs/projects/iam/roles-basic) (Owner, Editor, Viewer), the [Firebase Admin/Viewer roles](/docs/projects/iam/roles-predefined-all-products), or any of the [Firebase predefined product-category\n roles](/docs/projects/iam/roles-predefined-category).\n- The Google Cloud console offers an expansive set of tools to assign roles to project members in the [*IAM* page](https://console.cloud.google.com/iam-admin/iam). In the Cloud console, you can also create and manage [custom roles](/docs/projects/iam/roles-custom), as well as give service accounts access to your project.\n\n Note that in the Google Cloud console, project members are called *principals*.\n\nIf the Owner of your project can no longer perform the tasks of an Owner (for example, the person\nleft your company) and your project isn't managed via a Google Cloud organization (see next\nparagraph), you can\n[contact Firebase Support](https://firebase.google.com/support/troubleshooter/contact)\nand check with them about how to request access to the Firebase project.\n\nNote that if a Firebase project is part of a Google Cloud organization, it may not have an Owner.\nIf you're unable to find an Owner for your Firebase project, contact the person who manages your\nGoogle Cloud organization to assign an Owner for the project."]]