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

Open
opened 2025-11-02 04:20:39 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @haai on GitHub (Jul 2, 2018).

  • 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

Originally created by @haai on GitHub (Jul 2, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.4.2+6-gcaee487 - Git version: 1.4.2+6-gcaee487 - Operating system: CoreOS + Docker - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] 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
GiteaMirror added the issue/confirmedtype/feature labels 2025-11-02 04:20:39 -06:00
Author
Owner

@jonasfranz commented on GitHub (Jul 2, 2018):

I think we should implement a sort of request workflow. It should be possible to transfer a repo to another org without being member.

@jonasfranz commented on GitHub (Jul 2, 2018): I think we should implement a sort of request workflow. It should be possible to transfer a repo to another org without being member.
Author
Owner

@haai commented on GitHub (Jul 3, 2018):

could you clarify why it should be possible?

@haai commented on GitHub (Jul 3, 2018): could you clarify why it should be possible?
Author
Owner

@jonasfranz commented on GitHub (Jul 7, 2018):

Example I am contributor of a project at gitea but not member of the project's organization. If I want to transfer a repo to the project's repo, I should need to send an request for that. This makes it simpler to contribute by adding repos.

@jonasfranz commented on GitHub (Jul 7, 2018): Example I am contributor of a project at gitea but not member of the project's organization. If I want to transfer a repo to the project's repo, I should need to send an request for that. This makes it simpler to contribute by adding repos.
Author
Owner

@haai commented on GitHub (Jul 9, 2018):

ah ok i misinterpreted your answer :) i am all yours.

@haai commented on GitHub (Jul 9, 2018): ah ok i misinterpreted your answer :) i am all yours.
Author
Owner

@stale[bot] commented on GitHub (Jan 19, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 19, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@adelowo commented on GitHub (Jan 19, 2019):

I’m working on a transfer workflow at https://github.com/go-gitea/gitea/issues/5744

@adelowo commented on GitHub (Jan 19, 2019): I’m working on a transfer workflow at https://github.com/go-gitea/gitea/issues/5744
Author
Owner

@stale[bot] commented on GitHub (Mar 20, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Mar 20, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1999