1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-09 08:14:45 +00:00
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
..
2025-01-13 14:01:53 +08:00
2024-12-29 01:05:56 +00:00
2024-06-11 18:47:45 +00:00
2025-01-20 15:17:47 +08:00
2025-01-29 01:14:35 +02:00
2023-12-25 21:25:29 +01:00
2025-01-14 15:35:34 +08:00
2025-01-23 18:53:06 +00:00
2024-12-30 14:35:46 -08:00
2024-12-30 14:35:46 -08:00