[PR #4367] [CLOSED] Make admins allowed to create repos in any organization #17346

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4367
Author: @bkcsoft
Created: 7/4/2018
Status: Closed

Base: masterHead: fix-admin-create-org-repo-api


📝 Commits (4)

  • f72b695 Make admins allowed to create repos in any organization
  • 0fd3ab1 Add test for admins
  • e85dd8f add tests for non-member
  • 8ca01fa we don't use require for some reason

📊 Changes

2 files changed (+54 additions, -7 deletions)

View changed files

📝 integrations/api_repo_test.go (+45 -0)
📝 routers/api/v1/repo/repo.go (+9 -7)

📄 Description

As description. I'm also adding tests for OrgRepo creation.


🔄 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/4367 **Author:** [@bkcsoft](https://github.com/bkcsoft) **Created:** 7/4/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-admin-create-org-repo-api` --- ### 📝 Commits (4) - [`f72b695`](https://github.com/go-gitea/gitea/commit/f72b6953eef281e24eb370ee71a68ff799824e4d) Make admins allowed to create repos in any organization - [`0fd3ab1`](https://github.com/go-gitea/gitea/commit/0fd3ab178d300a81a66046450234a09b0e8c6c18) Add test for admins - [`e85dd8f`](https://github.com/go-gitea/gitea/commit/e85dd8f407240f98316c48d5a25b4652bce3b8e9) add tests for non-member - [`8ca01fa`](https://github.com/go-gitea/gitea/commit/8ca01fa29161f7ae5de726950a8a6c37c2540c9c) we don't use require for some reason ### 📊 Changes **2 files changed** (+54 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `integrations/api_repo_test.go` (+45 -0) 📝 `routers/api/v1/repo/repo.go` (+9 -7) </details> ### 📄 Description As description. I'm also adding tests for OrgRepo creation. --- <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:07 -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#17346