gitea/routers
Lunny Xiao f88dbf86b3
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
cron-translations / crowdin-pull (push) Has been skipped
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
..
api Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
common Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
install Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
private User facing messages for AGit errors (#33012) 2025-01-27 02:33:39 +00:00
utils Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
web Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
init.go Prepare for support performance trace (#33286) 2025-01-15 20:05:18 +00:00