Skip to content

Transfer ownership as administrator when repository creation is enabled #11449

Open
@guillep2k

Description

@guillep2k
  • 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions