Commits should consider user permissions when creating comments on referenced issues #3999

Closed
opened 2025-11-02 05:33:35 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @guillep2k on GitHub (Sep 22, 2019).

  • Gitea version (or commit ref): 1.9.3

Description

Currently UpdateIssuesCommit() creates a cross-reference comment on another repository even if the user has no permission whatsoever on it.

63ff61615e/models/action.go (L572-L600)

Originally created by @guillep2k on GitHub (Sep 22, 2019). - Gitea version (or commit ref): 1.9.3 ## Description Currently `UpdateIssuesCommit()` creates a cross-reference comment on another repository even if the user has no permission whatsoever on it. https://github.com/go-gitea/gitea/blob/63ff61615ec6aaa25887f8ce605c9082c106a34b/models/action.go#L572-L600
GiteaMirror added the type/bug label 2025-11-02 05:33:35 -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#3999