0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 18:22:13 +01:00
gitea/templates
Lunny Xiao cf2d332443
Refactor find forks and fix possible bugs that weak permissions check (#32528) (#32547)
Backport #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-19 04:08:32 +00:00
..
admin
api/packages/pypi
base
custom
devtest
explore
mail
org
package
projects
repo
shared
status
swagger
user
webhook
home.tmpl
install.tmpl
post-install.tmpl