0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-30 14:13:42 +01:00
gitea/routers/api
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
..
actions Move some Actions related functions from routers to services (#33280) 2025-01-15 21:34:30 +08:00
packages Make git clone URL could use current signed-in user (#33091) 2025-01-07 13:17:44 +08:00
v1 Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00