[PR #4809] [MERGED] Add sudo functionality to the API #17504

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4809
Author: @zeripath
Created: 8/28/2018
Status: Merged
Merged: 9/7/2018
Merged by: @techknowlogick

Base: masterHead: issue-4789


📝 Commits (6)

  • 8ae3b1f Add sudo functionality
  • f8ebfd2 Add simple integration test for sudo
  • d245164 Add documentation and information to the swagger api
  • af46b1b Log that a sudo action has occurred
  • e5d4c61 Merge branch 'master' into issue-4789
  • 00c6d90 Merge branch 'master' into issue-4789

📊 Changes

4 files changed (+95 additions, -1 deletions)

View changed files

📝 docs/content/doc/advanced/api-usage.en-us.md (+4 -0)
📝 integrations/api_admin_test.go (+29 -0)
📝 routers/api/v1/api.go (+44 -1)
📝 templates/swagger/v1_json.tmpl (+18 -0)

📄 Description

Adds sudo functionality similar to https://docs.gitlab.com/ee/api/#sudo


🔄 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/4809 **Author:** [@zeripath](https://github.com/zeripath) **Created:** 8/28/2018 **Status:** ✅ Merged **Merged:** 9/7/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `issue-4789` --- ### 📝 Commits (6) - [`8ae3b1f`](https://github.com/go-gitea/gitea/commit/8ae3b1fbc70d48238c99a247cd3ac819180bb3c2) Add sudo functionality - [`f8ebfd2`](https://github.com/go-gitea/gitea/commit/f8ebfd2a35aa8c3e1aacc32b34cef8f17de31198) Add simple integration test for sudo - [`d245164`](https://github.com/go-gitea/gitea/commit/d24516450739123f48385473728f3437451d3b09) Add documentation and information to the swagger api - [`af46b1b`](https://github.com/go-gitea/gitea/commit/af46b1b82d687c39d3a6f7cb09998c4f3c06237e) Log that a sudo action has occurred - [`e5d4c61`](https://github.com/go-gitea/gitea/commit/e5d4c6125609eeacd4b7ce80bb9c4d968d4c7696) Merge branch 'master' into issue-4789 - [`00c6d90`](https://github.com/go-gitea/gitea/commit/00c6d9093cbd995cb1288ec94e32db575778913f) Merge branch 'master' into issue-4789 ### 📊 Changes **4 files changed** (+95 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/doc/advanced/api-usage.en-us.md` (+4 -0) 📝 `integrations/api_admin_test.go` (+29 -0) 📝 `routers/api/v1/api.go` (+44 -1) 📝 `templates/swagger/v1_json.tmpl` (+18 -0) </details> ### 📄 Description Adds sudo functionality similar to https://docs.gitlab.com/ee/api/#sudo --- <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:43:51 -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#17504