|
3 | 3 | <Tip warning={true}> |
4 | 4 | This feature is part of the <a href="https://huggingface.co/enterprise">Enterprise Hub</a>. |
5 | 5 | </Tip> |
| 6 | + |
| 7 | +Gating Group collections allows organizations to configure gate all the repos in a collection, enabling **access requests** for all models or datasets in it. |
| 8 | + |
| 9 | +## Manage gating group as an organization admin |
| 10 | + |
| 11 | +To enable access requests, go to the collection page and click on **Gating group** in the bottom-right corner. |
| 12 | + |
| 13 | +<div class="flex justify-center" style="max-width: 750px"> |
| 14 | + <img |
| 15 | + class="block dark:hidden !m-0" |
| 16 | + src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/collections/gating-group-collection-disabled.webp" |
| 17 | + alt="Hugging Face collection page with gating group collection feature disabled" |
| 18 | + /> |
| 19 | + <img |
| 20 | + class="hidden dark:block !m-0" |
| 21 | + src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/collections/dark-gating-group-collection-disabled.webp" |
| 22 | + alt="Hugging Face collection page with gating group collection feature disabled" |
| 23 | + /> |
| 24 | +</div> |
| 25 | + |
| 26 | +By default, gating group is disabled: click on **Configure Access Requests** to open the settings |
| 27 | + |
| 28 | +<div class="flex justify-center" style="max-width: 750px"> |
| 29 | + <img |
| 30 | + class="block dark:hidden !m-0" |
| 31 | + src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/collections/gating-group-disabled.webp" |
| 32 | + alt="Hugging Face gating group collection settings with gating disabled" |
| 33 | + /> |
| 34 | + <img |
| 35 | + class="hidden dark:block !m-0" |
| 36 | + src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/collections/dark-gating-group-disabled.webp" |
| 37 | + alt="Hugging Face gating group collection settings with gating disabled" |
| 38 | + /> |
| 39 | +</div> |
| 40 | + |
| 41 | +By default, access to the repos in the collection is automatically granted to the user when requesting it. This is referred to as **automatic approval**. In this mode, any user can access your repos once they’ve shared their personal information with you. |
| 42 | + |
| 43 | +<div class="flex justify-center" style="max-width: 750px"> |
| 44 | + <img |
| 45 | + class="block dark:hidden !m-0" |
| 46 | + src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/collections/gating-group-enabling.webp" |
| 47 | + alt="Hugging Face gating group collection settings with automatic mode selected" |
| 48 | + /> |
| 49 | + <img |
| 50 | + class="hidden dark:block !m-0" |
| 51 | + src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/collections/dark-gating-group-enabling.webp" |
| 52 | + alt="Hugging Face gating group collection settings with gating with automatic mode selected" |
| 53 | + /> |
| 54 | +</div> |
| 55 | + |
| 56 | +If you want to manually approve which users can access repos in your collection, you must set it to **manual approval**. When this is the case, you will notice a new option: |
| 57 | + |
| 58 | +<div class="flex justify-center" style="max-width: 750px"> |
| 59 | + <img |
| 60 | + class="block dark:hidden !m-0" |
| 61 | + src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/collections/gating-group-changes.webp" |
| 62 | + alt="Hugging Face gating group collection settings with manual review mode selected" |
| 63 | + /> |
| 64 | + <img |
| 65 | + class="hidden dark:block !m-0" |
| 66 | + src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/collections/dark-gating-group-changes.webp" |
| 67 | + alt="Hugging Face gating group collection settings with manual review mode selected" |
| 68 | + |
| 69 | + /> |
| 70 | + |
| 71 | +</div> |
| 72 | + |
| 73 | +**Notification frequency** lets you configure when to get notified if new users request access. It can be set to once a day or real-time. By default, emails are sent to the first 5 admins of the organization. You can also set a different email address in the **Notifications email** field. |
0 commit comments