[PR #4814] [CLOSED] Change Collaborators List to include permissions #17507

Closed
opened 2025-11-02 13:45:17 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4814
Author: @zeripath
Created: 8/28/2018
Status: Closed

Base: masterHead: change-collab-api


📝 Commits (2)

  • 74bfa34 Change Collaborators List to include permissions
  • b3c8175 Adjust /api/v1/repos/:owner/:repo/collaborator/:collaborator to return the permission

📊 Changes

6 files changed (+146 additions, -28 deletions)

View changed files

📝 models/repo_collaboration.go (+21 -0)
📝 routers/api/v1/repo/collaborators.go (+13 -13)
📝 routers/api/v1/swagger/repo.go (+21 -0)
📝 templates/swagger/v1_json.tmpl (+65 -3)
📝 vendor/code.gitea.io/sdk/gitea/repo.go (+19 -0)
📝 vendor/code.gitea.io/sdk/gitea/repo_collaborator.go (+7 -12)

📄 Description

This pull request adjusts the api for /api/v1/repos/:owner/:reponame/collaborators to return the permissions for each collaborator, making this api a bit more useful.


🔄 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/4814 **Author:** [@zeripath](https://github.com/zeripath) **Created:** 8/28/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `change-collab-api` --- ### 📝 Commits (2) - [`74bfa34`](https://github.com/go-gitea/gitea/commit/74bfa348ff4bdd0421194ba599d3bbc8f2a4902d) Change Collaborators List to include permissions - [`b3c8175`](https://github.com/go-gitea/gitea/commit/b3c8175183e2efb74d61e07e931bddae08d8d993) Adjust /api/v1/repos/:owner/:repo/collaborator/:collaborator to return the permission ### 📊 Changes **6 files changed** (+146 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `models/repo_collaboration.go` (+21 -0) 📝 `routers/api/v1/repo/collaborators.go` (+13 -13) 📝 `routers/api/v1/swagger/repo.go` (+21 -0) 📝 `templates/swagger/v1_json.tmpl` (+65 -3) 📝 `vendor/code.gitea.io/sdk/gitea/repo.go` (+19 -0) 📝 `vendor/code.gitea.io/sdk/gitea/repo_collaborator.go` (+7 -12) </details> ### 📄 Description This pull request adjusts the api for /api/v1/repos/:owner/:reponame/collaborators to return the permissions for each collaborator, making this api a bit more useful. --- <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 13:45:20 -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#17507