[PR #4271] [MERGED] Fix milestone appliance and permission checks #17310

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4271
Author: @jonasfranz
Created: 6/18/2018
Status: Merged
Merged: 6/19/2018
Merged by: @lunny

Base: masterHead: fix-create-issue-milestone


📝 Commits (4)

  • c528505 Fix milestone appliance
  • 7dc237c Fix comment
  • 7830c7f Add Gitea copyright line
  • 602cbc1 Merge branch 'master' into fix-create-issue-milestone

📊 Changes

1 file changed (+17 additions, -9 deletions)

View changed files

📝 routers/api/v1/repo/issue.go (+17 -9)

📄 Description

Fixes #4270 and adds missing permission check which got removed.

Without the permission check every user can assign labels, etc to new issues if created via API.


🔄 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/4271 **Author:** [@jonasfranz](https://github.com/jonasfranz) **Created:** 6/18/2018 **Status:** ✅ Merged **Merged:** 6/19/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix-create-issue-milestone` --- ### 📝 Commits (4) - [`c528505`](https://github.com/go-gitea/gitea/commit/c528505c6de6bbb96c9cc7856f80fd1a959ef01c) Fix milestone appliance - [`7dc237c`](https://github.com/go-gitea/gitea/commit/7dc237c7aac2fa02879ce29fa7ef8aa0462e4a30) Fix comment - [`7830c7f`](https://github.com/go-gitea/gitea/commit/7830c7f01e8db11f34cac7b7b772022b6b2ac8e9) Add Gitea copyright line - [`602cbc1`](https://github.com/go-gitea/gitea/commit/602cbc1263d1f5561783501eacd1cf3f2cdeff84) Merge branch 'master' into fix-create-issue-milestone ### 📊 Changes **1 file changed** (+17 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `routers/api/v1/repo/issue.go` (+17 -9) </details> ### 📄 Description Fixes #4270 and adds missing permission check which got removed. Without the permission check every user can assign labels, etc to new issues if created via API. --- <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:32:17 -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#17310