Skip to content

Commit 2e62215

Browse files
coyotte508huggingface-doc-botclaudeCharlie-Boyer
authored
Document org-member gating option for gated repos (#2493)
* Document org-member gating option for gated repos Adds a "Gate access for organization members" section to the gated models and datasets docs. Covers the "Also gate access for members of {org}" toggle and lists which roles (org admins, repo creator, Resource Group admins) keep direct access when the toggle is on. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Apply suggestions from code review Co-authored-by: Charlie <57417805+Charlie-Boyer@users.noreply.github.com> --------- Co-authored-by: huggingface-doc-bot <doc-bot@huggingface.co> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Charlie <57417805+Charlie-Boyer@users.noreply.github.com>
1 parent 64dc522 commit 2e62215

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

docs/hub/datasets-gated.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,18 @@ extra_gated_button_content: "Acknowledge license"
126126
---
127127
```
128128

129+
### Gate access for organization members
130+
131+
For gated datasets hosted under an organization, you can also require the organization's **own members** to submit an access request. On the dataset settings page, under the gating options, enable **Also gate access for members of `{org}`**.
132+
133+
When this option is enabled, organization members must request access to the dataset like any other user. The following roles bypass the request and keep direct access:
134+
135+
- Organization admins
136+
- The user who created the repo
137+
- [Resource Group](./security-resource-groups) admins, when the dataset belongs to a Resource Group
138+
139+
All other members must go through the access request flow. This includes members with the read, contributor, or write org role, and Resource Group members without the admin role.
140+
129141
## Manage gated datasets as an organization (Team & Enterprise)
130142

131143
[Team & Enterprise](https://huggingface.co/docs/hub/en/enterprise) subscribers can create a Gating Group Collection to grant (or reject) access to all the models and datasets in a collection at once.

docs/hub/models-gated.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,18 @@ Possible use cases of programmatic management include:
140140
- Here's an [example repo](https://huggingface.co/Trelis/openchat_3.5-function-calling-v3) from TrelisResearch that uses this use case.
141141
- [@RonanMcGovern](https://huggingface.co/RonanMcGovern) has posted a [video about the flow](https://www.youtube.com/watch?v=2OT2SI5auQU) and tips on how to implement it.
142142

143+
### Gate access for organization members
144+
145+
For gated models hosted under an organization, you can also require the organization's **own members** to submit an access request. On the model settings page, under the gating options, enable **Also gate access for members of `{org}`**.
146+
147+
When this option is enabled, organization members must request access to the model like any other user. The following roles bypass the request and keep direct access:
148+
149+
- Organization admins
150+
- The user who created the repo
151+
- [Resource Group](./security-resource-groups) admins, when the model belongs to a Resource Group
152+
153+
All other members must go through the access request flow. This includes members with the read, contributor, or write org role, and Resource Group members without the admin role.
154+
143155
## Manage gated models as an organization (Team & Enterprise)
144156

145157
[Team & Enterprise](https://huggingface.co/docs/hub/en/enterprise) subscribers can create a Gating Group Collection to grant (or reject) access to all the models and datasets in a collection at once.

0 commit comments

Comments
 (0)