Skip to content

Document publisher gating download blocking and blocked regions#2646

Open
gary149 wants to merge 3 commits into
mainfrom
docs-publisher-gating-download-blocking
Open

Document publisher gating download blocking and blocked regions#2646
gary149 wants to merge 3 commits into
mainfrom
docs-publisher-gating-download-blocking

Conversation

@gary149

@gary149 gary149 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Updates the Advanced settings section of the Gating Group Collections page to cover the publisher gating changes that shipped for Enterprise Plus orgs.

Previously the docs only described blocked countries auto-rejecting access requests on gated repos. The settings now also include:

  • Blocked regions, for territories that aren't distinct countries and so can't be picked from the country list.
  • An Enforcement choice between "Gated repositories" (auto-reject access requests, the previous behavior) and "All repositories", which also denies downloads on every repo including public ones, shows a "not available in your region" notice, and disables the dataset viewer for blocked visitors.

Also notes that org members aren't exempt from enforcement.

Notes for reviewers

  • This content lives on the Gating Group Collections page because that's where the existing blocked-countries paragraph was. The "All repositories" scope applies org-wide and isn't specific to gating group collections, so it may deserve its own page or a home under the Enterprise docs. Happy to move it if you'd prefer.
  • The Advanced Gating tab name is unchanged, though it now covers more than gating.

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@julien-c julien-c left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two suggestions

## Advanced settings

Enterprise Plus organizations can define **blocked countries** to automatically reject access requests across their gated models and datasets. This setting is available in the **Publisher Analytics** settings, under the **Advanced Gating** tab.
Enterprise Plus organizations can block visitors from specific locations across all of their models and datasets. These settings live in the **Publisher Analytics** settings, under the **Advanced Gating** tab.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Enterprise Plus organizations can block visitors from specific locations across all of their models and datasets. These settings live in the **Publisher Analytics** settings, under the **Advanced Gating** tab.
Enterprise Plus organizations can automatically reject or block visitors from specific locations across all of their models and datasets. These settings live in the **Publisher Analytics** settings, under the **Advanced Gating** tab.

Comment on lines +148 to +162
### Blocked locations

Two lists define the blocked locations:

- **Blocked countries**: countries, identified by their [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
- **Blocked regions**: specific territories to block in addition to the countries above, for territories that are not distinct countries and therefore cannot be selected in the list above.

### Enforcement

The **Enforcement** setting controls what blocked visitors are denied:

- **Gated repositories**: access requests to the organization's gated repositories are auto-rejected.
- **All repositories**: in addition to auto-rejecting access requests, downloads are denied on every repository of the organization, including public ones. Blocked visitors see a "not available in your region" notice on the repository page, and the dataset viewer is disabled for them.

Enforcement applies to visitors from the blocked countries and regions, whether or not they are signed in. Members of the organization are not exempt.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Blocked locations
Two lists define the blocked locations:
- **Blocked countries**: countries, identified by their [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
- **Blocked regions**: specific territories to block in addition to the countries above, for territories that are not distinct countries and therefore cannot be selected in the list above.
### Enforcement
The **Enforcement** setting controls what blocked visitors are denied:
- **Gated repositories**: access requests to the organization's gated repositories are auto-rejected.
- **All repositories**: in addition to auto-rejecting access requests, downloads are denied on every repository of the organization, including public ones. Blocked visitors see a "not available in your region" notice on the repository page, and the dataset viewer is disabled for them.
Enforcement applies to visitors from the blocked countries and regions, whether or not they are signed in. Members of the organization are not exempt.
### Enforcement
The **Enforcement** setting controls what blocked visitors are denied:
- **Gated repositories**: access requests to the organization's gated repositories are auto-rejected.
- **All repositories**: in addition to auto-rejecting access requests, downloads are denied on every repository of the organization, including public ones. Blocked visitors see a "not available in your region" notice on the repository page, and the dataset viewer is disabled for them.
Enforcement applies to visitors from the blocked countries and regions, whether or not they are signed in. Members of the organization are not exempt.
### Blocked locations
Two lists define the blocked locations:
- **Blocked countries**: countries, identified by their [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
- **Blocked regions**: specific territories to block in addition to the countries above, for territories that are not distinct countries and therefore cannot be selected in the list above.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(just switching the order)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants