Skip to content

Conversation

@pcuenca
Copy link
Member

@pcuenca pcuenca commented Jul 28, 2025

We tested Contributor access in the target org and it worked. Which makes sense, because a contributor can create a new repo.

cc @gante @Vaibhavs10

We tested Contributor access in the target org and it worked. Which makes sense, because a contributor can create a new repo.
@HuggingFaceDocBuilderDev

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.

Comment on lines +19 to +20
- Transferring a repository from an organization to yourself. You must have "admin" rights in the organization.
- Transferring a repository from a source organization to another target organization. You must have "admin" rights in the source organization **and** at least "contributor" rights in the target organization.
Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't verify if write is enough for the source org (I think it should, as users with write access are able to delete any repo in the org).

- Transferring a repository from a source organization to another target organization. The user must have "admin" rights in the source organization **and** either "write" or "admin" rights in the target organization.
- Renaming a repository within the same user.
- Renaming a repository within the same organization. You must have "write" or "admin" rights in the organization.
- Transferring repository from user to an organization. You must be a member of the organization and have "contributor" rights, at least.
Copy link
Member Author

Choose a reason for hiding this comment

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

This worked for a test we did in transformers-community.

Copy link
Member

@Vaibhavs10 Vaibhavs10 left a comment

Choose a reason for hiding this comment

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

Nice! Thanks a lot for the updates! Let's maybe get @Kakulukian/ someone from the hub team to review this as well before we merge 🙏

Copy link
Member

@Pierrci Pierrci left a comment

Choose a reason for hiding this comment

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

lgtm

@pcuenca pcuenca merged commit a3505d4 into main Jul 30, 2025
2 checks passed
@pcuenca pcuenca deleted the repo-transfer-contributor branch July 30, 2025 13:36
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.

5 participants