Skip to content

transfer of repos allowed from users not in an organizations team.  #4352

Open
@haai

Description

@haai
  • Gitea version (or commit ref):
    1.4.2+6-gcaee487
  • Git version:
    1.4.2+6-gcaee487
  • Operating system:
    CoreOS + Docker
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Have an organization testorg created. repos are private per default.
Create an testuser NOT member of the organization testorg.
Create a Repo under testuser (testuser/testrepo)
Transfer ownership of repo testuser/testrepo to organization testorg.

Actual behaviour:

The transfer of the ownership is successful and leads to the project site with 404 page.

Expected behaviour:

The ownership transfer fails because the testuser is in no team nor admin.

Is this a bug or feature? :)
...

Screenshots

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions