Skip to content

Fix org permission API visibility checks for hidden members and private orgs (#36798)#36841

Merged
lunny merged 3 commits intogo-gitea:release/v1.25from
lunny:lunny/backport_36798
Mar 8, 2026
Merged

Fix org permission API visibility checks for hidden members and private orgs (#36798)#36841
lunny merged 3 commits intogo-gitea:release/v1.25from
lunny:lunny/backport_36798

Conversation

@lunny
Copy link
Copy Markdown
Member

@lunny lunny commented Mar 6, 2026

backport #36798

  • fix wrong parameter of HasOrgOrUserVisible in routers/api/v1/org/org.go
  • add integration tests covering the bug fix
  • merge permissions API tests

Generated by a coding agent with Codex 5.2

…te orgs (go-gitea#36798)

- fix wrong parameter of HasOrgOrUserVisible in
routers/api/v1/org/org.go
- add integration tests covering the bug fix
- merge permissions API tests

---
Generated by a coding agent with Codex 5.2
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 6, 2026
@GiteaBot GiteaBot added this to the 1.25.5 milestone Mar 6, 2026
@github-actions github-actions bot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code labels Mar 6, 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 Mar 7, 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 Mar 8, 2026
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 8, 2026
@lunny lunny enabled auto-merge (squash) March 8, 2026 15:57
@lunny lunny merged commit 96515c0 into go-gitea:release/v1.25 Mar 8, 2026
26 checks passed
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 8, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants