0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-12 02:22:45 +01:00
gitea/routers/web/repo/setting
Lunny Xiao f88dbf86b3
Refactor repository transfer (#33211)
- Both have `RejectTransfer` and `CancelTransfer` because the permission
checks are not the same. `CancelTransfer` can be done by the doer or
those who have admin permission to access this repository.
`RejectTransfer` can be done by the receiver user if it's an individual
or those who can create repositories if it's an organization.

- Some tests are wrong, this PR corrects them.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-30 05:40:44 +00:00
..
avatar.go
collaboration.go
default_branch.go
deploy_key.go
git_hooks.go
lfs.go
main_test.go
protected_branch.go
protected_tag.go
runners.go
secrets.go
setting.go Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
settings_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
variables.go
webhook.go Refactor webhook events (#33337) 2025-01-23 18:53:06 +00:00