[PR #356] [MERGED] Bug fixes for repo permissions in API #15332

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/356
Author: @ethantkoenig
Created: 12/6/2016
Status: Merged
Merged: 12/7/2016
Merged by: @bkcsoft

Base: masterHead: api/fixes


📝 Commits (1)

  • ba0fcac Bug fixes for repo permissions in API

📊 Changes

7 files changed (+45 additions, -26 deletions)

View changed files

📝 models/action.go (+1 -1)
📝 models/issue.go (+6 -6)
📝 models/pull.go (+6 -6)
📝 models/repo.go (+6 -1)
📝 routers/api/v1/repo/repo.go (+16 -10)
📝 routers/api/v1/user/star.go (+9 -1)
📝 routers/repo/webhook.go (+1 -1)

📄 Description

Correct repo permissions for the following API endpoints:

  • GET /users/:username/starred
  • GET /user/starred
  • GET /repos/:username/:reponame/
  • GET /repositories/:id

🔄 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/356 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 12/6/2016 **Status:** ✅ Merged **Merged:** 12/7/2016 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `api/fixes` --- ### 📝 Commits (1) - [`ba0fcac`](https://github.com/go-gitea/gitea/commit/ba0fcacd25202ec9fd6eca3d3fc3c53d151c75ae) Bug fixes for repo permissions in API ### 📊 Changes **7 files changed** (+45 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `models/action.go` (+1 -1) 📝 `models/issue.go` (+6 -6) 📝 `models/pull.go` (+6 -6) 📝 `models/repo.go` (+6 -1) 📝 `routers/api/v1/repo/repo.go` (+16 -10) 📝 `routers/api/v1/user/star.go` (+9 -1) 📝 `routers/repo/webhook.go` (+1 -1) </details> ### 📄 Description Correct repo permissions for the following API endpoints: - `GET /users/:username/starred` - `GET /user/starred` - `GET /repos/:username/:reponame/` - `GET /repositories/:id` --- <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 11:44:12 -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#15332