إدارة الوصول إلى المشاريع باستخدام "إدارة الهوية وإمكانية الوصول من Firebase"
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تتيح لك إدارة الهوية وإمكانية الوصول (IAM) منح إمكانية الوصول الدقيق إلى
توفير موارد Firebase وGoogle ومنع الوصول غير المرغوب فيه إلى الموارد الأخرى.
تتيح لك إدارة الهوية وإمكانية الوصول اتّباع مبدأ الأمان الخاص بأقل امتيازات، وبالتالي لا تمنح سوى أذونات الوصول الضرورية إلى مواردك.
نظرة عامة على إدارة الهوية وإمكانية الوصول في Firebase
تقدّم Firebase خيارات إدارة الهوية وإمكانية الوصول الإضافية التي تخصّ مشاريع Firebase
وأعضاء مشروعك.
عندما يطلب عضو مشروع تمّت مصادقة هويته إجراءً في
Firebase، تتّخذ خدمة إدارة الهوية وإمكانية الوصول قرارًا بشأن التفويض بشأن ما إذا كان لدى عضو المشروع
إذن لتنفيذ العملية المطلوبة
على المورد. ما إذا كان يُسمح لعضو المشروع بتنفيذ
يعتمد الطلب على الدور الذي يعيّنه عضو المشروع.
كل دور هو مجموعة من الأذونات، وعند تعيين دور إلى
عضو المشروع، فأنت تمنح هذا العضو في المشروع جميع الأذونات
هذا الدور.
أعضاء المشروع
باستخدام ميزة "إدارة الهوية وإمكانية الوصول" في Firebase، يمكنك منح الأدوار (وأذوناتها المتأصلة) ل
أعضاء مشروعك. يمكن أن يكون أعضاء المشروع من
الأنواع التالية:
حساب Google
حساب الخدمة
مجموعة Google
الأدوار
يتم منح الأذونات لأعضاء مشروعك من خلال
الأدوار. الدور هو مجموعة من
الأذونات. عند منح دور لعضو في
المشروع، فإنّك تمنح هذا العضو جميع الأذونات التي يحتوي عليها الدور
.
تتيح إدارة الهوية وإمكانية الوصول في Firebase أنواع الأدوار التالية:
الأدوار الأساسية:
الأدوار الأساسية المالك والمحرِّر والمُشاهد (التي كانت تُعرف سابقًا باسم
"أساسي" الأدوار).
الأدوار المحدَّدة مسبقًا:
الأدوار المنظّمة الخاصة بـ Firebase والتي تتيح التحكم في الوصول بدقة أكبر من
الأدوار الأساسية. تقدّم Firebase ما يلي:
الأدوار على مستوى Firebase:
الأدوار التي تمنح حق الوصول الكامل للقراءة/الكتابة أو القراءة فقط إلى جميع
منتجات Firebase:
الأدوار في فئة المنتج:
الأدوار التي تمنح حق الوصول الكامل للقراءة/الكتابة أو القراءة فقط لمجموعات من
المنتجات. وهي مبنية على Google Analytics و
فئات المنتجات العامة.
الأدوار على مستوى المنتج:
الأدوار التي تمنح إذن وصول كامل للقراءة/الكتابة أو إذن وصول للقراءة فقط إلى منتجات
Firebase معيّنة.
الأدوار المخصّصة: هي أدوار مخصّصة بالكامل
تنشئها لتخصيص مجموعة من الأذونات التي تستوفي المتطلبات
المحددة لمؤسستك.
إدارة أعضاء المشروع وأدوارهم
عرض أعضاء المشروع وأدوارهم
يمكنك الاطّلاع على العديد من أعضاء مشروعك وأدوارهم في علامة التبويب
المستخدمون والأذونات
ضمن settings > إعدادات المشروع في
وحدة تحكّم Firebase. يُرجى مراعاة ما يلي:
لا تسرد وحدة تحكم Firebase سوى أعضاء المشروع الذين تم تعيين
الدور الأساسي (المالك، المحرِّر،
مُشاهد) أو
دور Firebase المحدّد مسبقًا.
أعضاء المشروع المدرجون في علامة التبويب هذه هم أعضاء المشروع الوحيدون الذين لديهم
إذن بالوصول إلى مشروع Firebase في وحدة تحكُّم Firebase.
لا تدرج وحدة تحكّم Firebase أعضاء الخدمة في المشروع.
الحسابات. يمكنك الاطّلاع على أعضاء المشروع هؤلاء في
صفحة إدارة الهوية وإمكانية الوصول
في وحدة تحكّم Google Cloud.
لإدارة الأدوار المخصّصة لكل عضو في المشروع، يجب أن تكون مالكًا لمشروع Firebase
(أو أن يتم منحك دورًا يتضمن الإذن
resourcemanager.projects.setIamPolicy).
في ما يلي الأماكن التي يمكنك إسناد الأدوار فيها وإدارتها:
توفّر وحدة تحكّم Google Cloud مجموعة واسعة من الأدوات لمنح الأدوار لأعضاء المشروع
في
صفحة إدارة الهوية وإمكانية الوصول. في وحدة تحكُّم Cloud، يمكنك أيضًا إنشاء
وإدارتها
أدوار مخصصة، بالإضافة إلى منح حسابات الخدمة
حق الوصول إلى مشروعك.
يُرجى العلم أنّه في وحدة تحكّم Google Cloud، يُطلق على أعضاء المشروع اسم المشرفين.
إذا لم يعُد بإمكان مالك مشروعك تنفيذ مهام مالك (على سبيل المثال، إذا
غادر الشخص شركتك) ولم يكن مشروعك مُدارًا من خلال Google Cloud مؤسسة (راجِع الفقرة التالية)، يمكنك
التواصل مع فريق دعم Firebase
والاستفسار منه عن كيفية طلب الوصول إلى مشروع Firebase.
يُرجى العِلم أنّه إذا كان مشروع Firebase جزءًا من مؤسسة Google Cloud، قد لا يكون له مالك.
إذا لم تتمكن من العثور على مالك لمشروعك في Firebase، تواصَل مع الشخص الذي يدير
في مؤسسة Google Cloud لتعيين مالك للمشروع.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["Identity and Access Management (IAM) lets you grant granular access to specific\nFirebase and Google resources and prevents unwanted access to other resources.\nIAM lets you adopt the\n[security principle of least privilege](//en.wikipedia.org/wiki/Principle_of_least_privilege),\nso you grant only the necessary access to your resources.\n\nFor a detailed description of IAM, read the\n[Google Cloud IAM documentation](//cloud.google.com/iam/docs/).\n\nOverview of Firebase IAM\n\nFirebase offers additional IAM options that are specific for Firebase projects\nand your project members.\n\nWhen an authenticated [**project member**](#members) requests an action in\nFirebase, IAM makes an authorization decision about whether the project member\nhas [**permission**](/docs/projects/iam/permissions) to perform the requested\noperation on the **resource** . Whether the project member is allowed to perform\nthe request depends on the project member's assigned [**role**](#roles).\nEach role is a collection of permissions, and when you assign a role to a\nproject member, you are granting that project member all the permissions for\nthat role.\n\nProject members\n\nUsing Firebase IAM, you assign roles (and their inherent permissions) to your\nproject members. Project members can be of the following\n[types](//cloud.google.com/iam/docs/overview#concepts_related_identity):\n\n- Google account\n- Service account\n- Google group\n\n| **Note:** In the Google Cloud console and Google Cloud IAM documentation, project members are called *principals*.\n\nRoles\n\n**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."]]