Skip to content
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

Transfer ownership as administrator when repository creation is enabled #11449

Open
guillep2k opened this issue May 17, 2020 · 0 comments
Open
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@guillep2k
Copy link
Member

  • Gitea version (or commit ref): dcb0cf7

Description

We have a setting on teams that allows members to create repositories for the organization:

image

The effect of this is having the user added as a collaborator with administrator permissions when the repository is created. I think we should take this setting into account when the user transfers ownership of one of their repositories into the organization. Currently the user gets a 404 error after transferring ownership because the repository doesn't belong to any of the organization teams he belongs to. I propose we add the user as a repository administrator as well in this case (only if they belong to a team with create repository permissions, of course).

@guillep2k guillep2k added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

1 participant