add per repo consideration to docs - #2664
Merged
Muhammadsaeed707 merged 3 commits intoJul 24, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Service Accounts documentation to clarify how fine-grained access token permissions can be scoped, adding guidance on organization-wide versus per-repository token scoping for enterprise service accounts.
Changes:
- Adds an explanation of two permission-scoping levels: organization-wide and per-repository.
- Adds an example emphasizing narrowly scoped tokens (e.g., read access to a single model repo).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
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. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
alexpouliquen
approved these changes
Jul 24, 2026
Co-authored-by: Alexandre Nicolas Pouliquen <11311853+alexpouliquen@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add per repo consideration to docs. new change from this pr: https://github.com/huggingface-internal/moon-landing/pull/18964
(also to share with this customer https://huggingface.slack.com/archives/C08NNTKSHH9/p1783446066600199)
Note
Low Risk
Documentation-only change with no runtime or security behavior impact.
Overview
Updates
docs/hub/enterprise-service-accounts.mdin the Managing Access Tokens section to describe how fine-grained permissions can be scoped.Organization-wide permissions apply across all org repos; per-repository permissions limit read/write to selected repos (org-owned or public), with a short example of a single-model read-only token.
Reviewed by Cursor Bugbot for commit 9860aea. Bugbot is set up for automated code reviews on this repo. Configure here.