[PR #2227] [MERGED] Check for access in /repositories/:id #16294

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2227
Author: @ethantkoenig
Created: 7/29/2017
Status: Merged
Merged: 7/30/2017
Merged by: @lunny

Base: masterHead: fix/repositories_api


📝 Commits (2)

  • 483933c Check for access in /repositories/:id
  • 6eb8974 Integration test

📊 Changes

2 files changed (+12 additions, -1 deletions)

View changed files

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

📄 Description

Fix permission-checking bug in API endpoint.

Also added an integration test


🔄 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/2227 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 7/29/2017 **Status:** ✅ Merged **Merged:** 7/30/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/repositories_api` --- ### 📝 Commits (2) - [`483933c`](https://github.com/go-gitea/gitea/commit/483933cf79363f6b0dd721dc62d9c8295c469ff3) Check for access in /repositories/:id - [`6eb8974`](https://github.com/go-gitea/gitea/commit/6eb8974b69f524329f678391f2c7cec4e1a502e1) Integration test ### 📊 Changes **2 files changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `integrations/api_repo_test.go` (+8 -0) 📝 `routers/api/v1/repo/repo.go` (+4 -1) </details> ### 📄 Description Fix permission-checking bug in API endpoint. Also added an integration test --- <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:06:55 -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#16294