קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בעזרת ניהול זהויות והרשאות גישה (IAM) תוכלו לתת גישה פרטנית למשאבים ספציפיים ב-Firebase וב-Google, ולמנוע גישה לא רצויה למשאבים אחרים.
בעזרת IAM תוכלו לשמור על עקרון האבטחה של הרשאות מינימליות, וכך לתת רק למי שצריך את רמת הגישה שצריך למשאבים השונים.
ב-Firebase יש אפשרויות IAM נוספות שספציפיות לפרויקטים ב-Firebase ולחברים בפרויקטים.
כשחבר מאומת בפרויקט מבקש פעולה
Firebase, IAM מקבל החלטה לגבי סטטוס האישור של חבר הפרויקט
יש לו הרשאה לבצע את הפעולה המבוקשת
במשאב. האפשרות של חברי הפרויקט לבצע את הבקשה תלויה בתפקיד שהוקצה להם.
כל תפקיד הוא אוסף של הרשאות, וכשאתם מקצים תפקיד למשתמש בפרויקט, אתם מעניקים לו את כל ההרשאות של התפקיד הזה.
המשתמשים בפרויקט
באמצעות Firebase IAM, אתם מקצים תפקידים (וההרשאות הטבועות שלהם) לחברי הפרויקט. חברי הפרויקט יכולים להיות מהסוגים הבאים:
חשבון Google
חשבון שירות
קבוצה ב-Google
תפקידים
ההרשאות מוענקות לחברי הפרויקט דרך
תפקידים. תפקיד הוא אוסף של
הרשאות. כשאתם מקצים תפקיד למשתמש
חבר בפרויקט, עליך להעניק לחבר הפרויקט את כל ההרשאות שהתפקיד
מכיל/ה.
מערכת IAM של Firebase תומכת בסוגי התפקידים הבאים:
תפקידים בסיסיים:
תפקידים בסיסיים של בעלים, עריכה וצפייה (לשעבר,
'פרימיטיבי' תפקידים).
תפקידים מוגדרים מראש: תפקידים ספציפיים ל-Firebase שמאפשרים בקרת גישה פרטנית יותר מאשר התפקידים הבסיסיים. Firebase מציע:
תפקידים ברמת Firebase: תפקידים שמעניקים גישה מלאה לקריאה/כתיבה או גישה לקריאה בלבד לכל מוצרי Firebase.
תפקידים של קטגוריות מוצרים: תפקידים שמעניקים גישה מלאה לקריאה/כתיבה או גישה לקריאה בלבד לקבוצות של מוצרים. הם בנויים סביב Google Analytics וכללי
קטגוריות מוצרים.
תפקידים ברמת המוצר:
תפקידים שמעניקים הרשאת קריאה/כתיבה מלאה או הרשאת קריאה בלבד לתפקידים ספציפיים
מוצרי Firebase
תפקידים בהתאמה אישית: תפקידים מותאמים אישית לחלוטין שאתם יוצרים כדי להתאים קבוצת הרשאות שמתאימה לדרישות הספציפיות של הארגון שלכם.
ניהול חברי הפרויקט והתפקידים שלהם
הצגת חברי הפרויקט והתפקידים שלהם
תוכלו לראות חלק גדול מחברי הפרויקט שלכם ואת התפקידים שלהם
הכרטיסייה משתמשים והרשאות
מתוך settings > הגדרות הפרויקט ב
מסוף Firebase. שימו לב:
במסוף Firebase מפורטים רק חברי הפרויקט שהוקצה להם
תפקיד בסיסי (בעלים, עריכה,
Viewer) או
תפקיד מוגדר מראש ב-Firebase.
חברי הפרויקט שמפורטים בכרטיסייה הזו הם היחידים שיש להם גישה לפרויקט Firebase במסוף Firebase.
במסוף Firebase לא מופיעה רשימה של חברי הפרויקט שהם שירות
חשבונות. אפשר לראות את חברי הפרויקט האלה בדף IAM במסוף Google Cloud.
אפשר גם להציג את כל חברי הפרויקט ואת התפקידים שלהם בדף IAM במסוף Google Cloud.
הקצאת תפקיד לחבר פרויקט
כדי לנהל את התפקידים שהוקצו לכל חבר בפרויקט, צריך להיות לכם הרשאת בעלים בפרויקט ב-Firebase (או שהוקצה לכם תפקיד עם ההרשאה resourcemanager.projects.setIamPolicy).
במסוף Google Cloud יש מגוון רחב של כלים להקצאת תפקידים לחברי פרויקט בדף IAM. במסוף Cloud אפשר גם ליצור ולנהל תפקידים בהתאמה אישית, וגם לתת לחשבונות שירות גישה לפרויקט.
שימו לב שבמסוף Google Cloud, חברי הפרויקט נקראים חשבונות משתמשים.
אם הבעלים של הפרויקט כבר לא יכול לבצע את המשימות של הבעלים (לדוגמה, האדם
עזב את החברה) והפרויקט שלך לא מנוהל דרך ארגון Google Cloud (יש לעיין בקטע הבא
פסקה), אפשר
פנייה לתמיכה של Firebase
ולבדוק איתם איך לבקש גישה לפרויקט Firebase.
שימו לב: אם פרויקט Firebase הוא חלק מארגון Google Cloud, יכול להיות שאין לו בעלים.
אם לא הצלחת למצוא בעלים בפרויקט Firebase, יש ליצור קשר עם מי שמנהל את
ארגון אחד (Google Cloud) כדי להקצות בעלים לפרויקט.
[[["התוכן קל להבנה","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 (שעון UTC)."],[],[],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."]]