1
1
mirror of https://github.com/go-gitea/gitea synced 2025-03-10 12:44:28 +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-17 08:55:02 +00:00
2025-01-12 03:39:46 +00:00
2025-01-16 13:52:21 +00:00
2025-01-16 13:52:21 +00:00
2024-12-26 11:56:03 +08:00
2024-12-24 13:47:45 +00:00
2025-01-17 08:55:02 +00:00
2025-01-10 06:00:06 +00:00
2025-01-17 08:55:02 +00:00
2024-12-30 01:57:38 +00:00
2025-01-12 03:39:46 +00:00
2025-01-13 16:27:11 +08:00
2025-01-30 05:40:44 +00:00
2024-05-03 09:13:48 +00:00
2025-01-12 03:39:46 +00:00
2024-12-30 01:57:38 +00:00