Skip to content

Fix get release draft permission check (#36659)#36715

Merged
lunny merged 1 commit intogo-gitea:release/v1.25from
GiteaBot:backport-36659-v1.25
Feb 22, 2026
Merged

Fix get release draft permission check (#36659)#36715
lunny merged 1 commit intogo-gitea:release/v1.25from
GiteaBot:backport-36659-v1.25

Conversation

@GiteaBot
Copy link
Copy Markdown
Collaborator

Backport #36659 by @lunny

Draft release and it's attachments need a write permission to access.

Draft release and it's attachments need a write permission to access.

---------

Signed-off-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Giteabot <teabot@gitea.io>
@GiteaBot GiteaBot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code type/bug labels Feb 22, 2026
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 22, 2026
@GiteaBot GiteaBot added this to the 1.25.5 milestone Feb 22, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 22, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 22, 2026
@lunny lunny enabled auto-merge (squash) February 22, 2026 21:35
@lunny lunny merged commit e7fca90 into go-gitea:release/v1.25 Feb 22, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants