تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الدور هو مجموعة من الأذونات التي تتيح للمستخدمين تنفيذ إجراءات معيّنة على موارد Google Drive. لمنح الأذونات للمستخدمين والمجموعات وحسابات الخدمة، عليك تحديد الأدوار. عند تعيين دور، فإنّك تمنح جميع الأذونات التي يتضمّنها الدور.
يتضمّن كل إذن في Google Drive API دورًا يحدّد الإجراءات التي يمكن للمستخدمين اتّخاذها مع ملف أو مجلد أو مساحة تخزين سحابي مشتركة. لمزيد من المعلومات، يُرجى الاطّلاع على سيناريوهات لمشاركة موارد Drive.
عمليات الملفات والمجلدات
يوضّح الجدول التالي العمليات التي يمكن للمستخدمين تنفيذها لكل دور، عندما لا يكون الدور محصورًا بملف شخصي. لمزيد من المعلومات، يُرجى الاطّلاع على المشاهدات.
العملية المسموح بها
owner
organizer
fileOrganizer
writer
commenter
reader
قراءة البيانات الوصفية (مثل الاسم والوصف) للملف أو المجلد
قراءة محتوى الملف
قراءة قائمة العناصر في المجلد
إضافة تعليقات إلى الملف
تعديل البيانات الوصفية للملف أو المجلد
تعديل محتوى الملف
الوصول إلى النُسخ السابقة
إضافة عناصر إلى المجلد
إزالة عناصر من مجلد "ملفاتي"
مشاركة عناصر من مجلد "ملفاتي"
يمكنه الوصول إلى أذونات الملفات التفصيلية
نقل العناصر إلى المهملات
استرداد الملفات من المهملات
إفراغ المهملات
حذف ملف أو مجلد
إضافة قيود على المحتوى إلى ملف في مجلد "ملفاتي"
ضبط إعدادات الوصول المقيد أو إلغاء ضبطها في مجلدات "ملفاتي"
العمليات الخاصة بمساحات التخزين السحابي المشتركة
يوضّح الجدول التالي العمليات الخاصة بمساحة التخزين السحابي المشتركة التي يمكن للمستخدمين تنفيذها لكل دور، عندما لا يكون الدور محصورًا في عرض فقط. لمزيد من المعلومات، يُرجى الاطّلاع على مقالة المشاهدات.
العملية المسموح بها
owner
organizer
fileOrganizer
writer
commenter
reader
مشاركة عنصر في مساحة تخزين سحابي مشتركة
إضافة ملفات إلى مساحات التخزين السحابي المشتركة
تعديل البيانات الوصفية لمساحة تخزين سحابي مشتركة
إضافة أعضاء إلى مساحة Drive مشتركة
إعادة تنظيم العناصر في مساحة تخزين سحابي مشتركة [1]
نقل العناصر خارج مساحة تخزين سحابي مشتركة [2]
حذف الملفات في مساحات التخزين السحابي المشتركة [2]
حذف مساحة تخزين سحابي مشتركة فارغة
إضافة قيود على المحتوى إلى ملف في مساحة تخزين سحابي مشتركة
ضبط إعدادات الوصول المحدود أو إلغاء ضبطها في مجلدات مساحة التخزين السحابي المشتركة
العلاقة بين أدوار Drive API وواجهة مستخدم Drive
تستخدم واجهة برمجة التطبيقات Drive API وواجهة مستخدم Drive نظام الأذونات الأساسي نفسه. ومع ذلك، تختلف أسماء الأدوار قليلاً بين النوعين.
يوضّح الجدول التالي كيفية تطابق الأدوار للملفات والمجلدات في "ملفاتي".
دور واجهة برمجة تطبيقات Drive
دور واجهة مستخدم Drive
الوصف
owner
المالك
يمنح هذا الإذن تحكّمًا كاملاً في الملف أو المجلد.
writer
محرِّر
يمنح هذا الإذن إمكانية عرض الملف وإضافة تعليقات عليه وتعديله. بالنسبة إلى المجلدات، يمكن إضافة ملفات أو مجلدات فرعية وتعديلها وحذفها داخل هذا المجلد.
commenter
إذن وصول المعلِّق
يمنح هذا الإذن إمكانية عرض الملف وإضافة تعليقات.
reader
مُشاهد
يمنح هذا الإذن إمكانية عرض الملف.
يوضّح الجدول التالي كيفية مطابقة الأدوار للملفات والمجلدات في مساحات التخزين السحابي المشتركة.
دور واجهة برمجة تطبيقات Drive
دور واجهة مستخدم Drive
الوصف
organizer
مدير
يمنح هذا الدور إمكانية إدارة الملفات والمجلدات والمستخدمين والإعدادات.
fileOrganizer
إدارة المحتوى
يمنح هذا الدور القدرة على المساهمة في المحتوى وإدارته. الدور التلقائي للأعضاء الجدد
writer
مساهم
يمنح هذا الإذن إمكانية عرض الملف وإضافة تعليقات عليه وتعديله. يمكنك أيضًا إنشاء ملفات داخل مساحة تخزين سحابي مشتركة.
commenter
إذن وصول المعلِّق
يمنح هذا الإذن إمكانية عرض الملف وإضافة تعليقات.
reader
مُشاهد
يمنح هذا الإذن إمكانية عرض الملف.
المشاهدات
قد يقتصر الإذن على
view، وفي هذه الحالة،
لا ينطبق الدور إلا على هذا الملف الشخصي.
يمنح الإذن الذي يتضمّن view=published وrole=reader المستخدم reader إذن الوصول إلى العرض المنشور للملف، ولكنّه لا يمنحه إذن الوصول إلى الملف.reader
يمنح الإذن الذي يتضمّن view=metadata وrole=reader خدمة reader إذن الوصول إلى البيانات الوصفية للمجلد، ولكنّه لا يمنح إذن الوصول إلى محتوى المجلد.
في المقابل، يمنح أي إذن غير مقيّد بعرض معيّن إمكانية الوصول إلى العرض المنشور للملف.reader
تاريخ التعديل الأخير: 2025-08-29 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-29 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# Roles and permissions\n\nA [role](/workspace/drive/api/reference/rest/v3/permissions#Permission.FIELDS.inlinedField_2) is a\ncollection of [permissions](/workspace/drive/api/reference/rest/v3/permissions) that allows users to\nperform specific actions on Google Drive resources. To make permissions\navailable to users, groups, and service accounts, you assign roles. When you\nassign a role, you grant all the permissions that the role contains.\n\nEach permission in the Google Drive API has a role that defines what users can do\nwith a file, folder, or shared drive. For more information, see [Scenarios for\nsharing Drive\nresources](/workspace/drive/api/guides/manage-sharing#sharing-drive-resources).\n\nOperations for files and folders\n--------------------------------\n\nThe following table shows the operations users can perform for each role, when\nthe role isn't restricted to a view. For more information, see [Views](#views).\n\n| Permitted operation | `owner` | `organizer` | `fileOrganizer` | `writer` | `commenter` | `reader` |\n|---------------------------------------------------------------------|---------|-------------|-----------------|----------|-------------|----------|\n| Read the metadata (such as name, description) of the file or folder | | | | | | |\n| Read the content of the file | | | | | | |\n| Read the list of items in the folder | | | | | | |\n| Add comments to the file | | | | | | |\n| Modify the metadata of the file or folder | | | | | | |\n| Modify the content of the file | | | | | | |\n| Access historical revisions | | | | | | |\n| Add items to the folder | | | | | | |\n| Remove items from the My Drive folder | | | | | | |\n| Share items from the My Drive folder | | | | | | |\n| Can access detailed file permissions | | | | | | |\n| Move items into the trash | | | | | | |\n| Recover items from the trash | | | | | | |\n| Empty the trash | | | | | | |\n| Delete a file or folder | | | | | | |\n| Add a content restriction to a file in a My Drive folder | | | | | | |\n| Set or unset the limited access setting in My Drive folders | | | | | | |\n\nOperations specific to shared drives\n------------------------------------\n\nThe following table shows shared drive specific operations users can perform for\neach role, when the role isn't restricted to a view. For more information, see\n[Views](#views).\n\n| Permitted operation | `owner` | `organizer` | `fileOrganizer` | `writer` | `commenter` | `reader` |\n|-----------------------------------------------------------------|---------|-------------|-----------------|----------|-------------|----------|\n| Share a shared drive item | | | | | | |\n| Add files to shared drives | | | | | | |\n| Modify the metadata of a shared drive | | | | | | |\n| Add shared drive members | | | | | | |\n| Reorganize items within a shared drive \\[1\\] | | | | | | |\n| Move items outside of a shared drive \\[2\\] | | | | | | |\n| Delete items in shared drives \\[2\\] | | | | | | |\n| Delete an empty shared drive | | | | | | |\n| Add a content restriction to a file in a shared drive | | | | | | |\n| Set or unset the limited access setting in shared drive folders | | | | | | |\n\n| **\\[1\\]** Requires the `organizer` or `fileOrganizer` role on a direct or indirect parent, as opposed to the role being present on the item. \n| **\\[2\\]** Requires the `organizer` role on a direct or indirect parent, as opposed to the role being present on the item.\n\nCorrelation between Drive API and Drive UI roles\n------------------------------------------------\n\nThe Drive API and Drive UI use the same underlying\npermission system. However, the role names differ slightly between the two.\n\nThe following table shows how the roles correspond for files and folders in My\nDrive.\n\n| Drive API role | Drive UI role | Description |\n|----------------|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `owner` | Owner | Grants full control over the file or folder. |\n| `writer` | Editor | Grants the ability to view the file, add comments, and edit the file. For folders, can add, edit, and delete files or subfolders within that folder. |\n| `commenter` | Commenter | Grants the ability to view the file and add comments. |\n| `reader` | Viewer | Grants the ability to view the file. |\n\nThe following table shows how the roles correspond for files and folders in\nshared drives.\n\n| Drive API role | Drive UI role | Description |\n|-----------------|-----------------|--------------------------------------------------------------------------------------------------------------------|\n| `organizer` | Manager | Grants the ability to manage files, folders, people, and settings. |\n| `fileOrganizer` | Content Manager | Grants the ability to contribute and manage content. Default role for new members. |\n| `writer` | Contributor | Grants the ability to view the file, add comments, and edit the file. Can also create files within a shared drive. |\n| `commenter` | Commenter | Grants the ability to view the file and add comments. |\n| `reader` | Viewer | Grants the ability to view the file. |\n\nViews\n-----\n\nA permission might be restricted to a\n[`view`](/workspace/drive/api/reference/rest/v3/permissions#Permission.FIELDS.view), in which case\nthe role only applies to that particular view.\n\nA permission with `view=published` and `role=reader` grants `reader` access to\nthe published view of the file, but it doesn't grant `reader` access to the\nfile.\n\nA permission with `view=metadata` and `role=reader` grants `reader` access to\nthe metadata of the folder, but it doesn't grant access to the folder's\ncontents.\n\nConversely, any permission that's not restricted to a particular view, grants\n`reader` access to the published view of the file.\n\nRelated topics\n--------------\n\n- [Share files from Google Drive](https://support.google.com/docs/answer/2494822#zippy=%2Cunderstand-share-permissions)\n- [How file access works in shared drives](https://support.google.com/a/users/answer/12380484#access)"]]