-
Notifications
You must be signed in to change notification settings - Fork 374
Levels for repo transfer #1850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Levels for repo transfer #1850
Conversation
We tested Contributor access in the target org and it worked. Which makes sense, because a contributor can create a new repo.
|
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. |
| - 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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
Vaibhavs10
left a comment
There was a problem hiding this 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 🙏
Pierrci
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
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