1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-17 10:15:22 +01:00
gitea/routers
Lunny Xiao 96515c0f20
Fix org permission API visibility checks for hidden members and private orgs (#36798) (#36841)
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
2026-03-08 16:26:08 +00:00
..
api Fix org permission API visibility checks for hidden members and private orgs (#36798) (#36841) 2026-03-08 16:26:08 +00:00
common add more routes to the "expensive" list (#36290) 2026-01-03 16:59:48 +02:00
install Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
private Fix bug when pushing mirror with wiki (#36795) (#36807) 2026-03-06 16:26:34 +01:00
utils Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
web Fix OAuth2 authorization code expiry and reuse handling (#36797) (#36851) 2026-03-06 10:33:20 -08:00
init.go Move git command to git/gitcmd (#35483) 2025-09-15 23:33:12 -07:00