[PR #4366] [MERGED] Check that repositories can only be migrated to own user or organizations #17345

Closed
opened 2025-11-02 12:33:06 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4366
Author: @lafriks
Created: 7/4/2018
Status: Merged
Merged: 7/4/2018
Merged by: @lafriks

Base: masterHead: fix/migrate_owner_check


📝 Commits (4)

  • 61e56dd Repositories can only migrated to own user or organizations
  • e0ffe0b Add check for organization that user does not belog to
  • 0cf6c33 Allow admin to migrate repositories for other users
  • d9db242 Merge branch 'master' into fix/migrate_owner_check

📊 Changes

2 files changed (+42 additions, -8 deletions)

View changed files

📝 integrations/api_repo_test.go (+27 -0)
📝 routers/api/v1/repo/repo.go (+15 -8)

📄 Description

As title


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4366 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 7/4/2018 **Status:** ✅ Merged **Merged:** 7/4/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `fix/migrate_owner_check` --- ### 📝 Commits (4) - [`61e56dd`](https://github.com/go-gitea/gitea/commit/61e56dd32ce3d285773f68e05ac56ac04bc3e13c) Repositories can only migrated to own user or organizations - [`e0ffe0b`](https://github.com/go-gitea/gitea/commit/e0ffe0b58d665bd525cf2010e00034a2b37a31d9) Add check for organization that user does not belog to - [`0cf6c33`](https://github.com/go-gitea/gitea/commit/0cf6c338e7f978c502df63cc47444c4249801fb9) Allow admin to migrate repositories for other users - [`d9db242`](https://github.com/go-gitea/gitea/commit/d9db24288d490e9aebcf201354a0bdd724735f84) Merge branch 'master' into fix/migrate_owner_check ### 📊 Changes **2 files changed** (+42 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `integrations/api_repo_test.go` (+27 -0) 📝 `routers/api/v1/repo/repo.go` (+15 -8) </details> ### 📄 Description As title --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:33:06 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17345