1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-17 14:55:21 +01:00
gitea/routers/api/v1
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
..
activitypub Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
admin Fix edit user email bug in API (#36068) (#36081) 2025-12-04 18:25:52 +00:00
misc enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00
notify Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
org Fix org permission API visibility checks for hidden members and private orgs (#36798) (#36841) 2026-03-08 16:26:08 +00:00
packages Add package version api endpoints (#34173) 2025-04-13 20:00:44 +00:00
repo Fix get release draft permission check (#36659) (#36715) 2026-02-22 22:09:07 +00:00
settings Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
shared Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +08:00
swagger Fix diffpatch API endpoint (#35610) (#35613) 2025-10-10 03:28:40 +00:00
user Check user visibility when redirecting to a renamed user (#36148) (#36159) 2025-12-15 11:42:59 +02:00
utils Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +08:00
api.go Make "commit statuses" API accept slashes in "ref" (#36264) (#36275) 2026-01-01 03:04:03 +00:00