Lunny Xiao 4f879a00df
Refactor find forks and fix possible bugs that weak permissions check (#32528)
- Move models/GetForks to services/FindForks
- Add doer as a parameter of FindForks to check permissions
- Slight performance optimization for get forks API with batch loading
of repository units
- Add tests for forking repository to organizations

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-18 03:06:25 +00:00
..
2024-10-01 15:25:08 -04:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-11-02 11:20:22 +00:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-10-01 15:25:08 -04:00
2024-06-18 03:09:20 +00:00
2024-05-03 09:13:48 +00:00
2024-05-03 09:13:48 +00:00
2024-08-16 20:40:51 +08:00