1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-03 05:24:43 +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-20 15:17:47 +08:00
2025-01-25 01:09:57 +08:00
2025-01-25 01:09:57 +08:00
2025-01-08 23:57:18 +08:00
2025-01-23 18:53:06 +00:00
2025-01-12 03:39:46 +00:00
2025-01-15 11:15:47 +08:00
2025-01-08 23:57:18 +08:00
2025-01-06 12:07:52 +08:00
2025-01-15 11:15:47 +08:00
2024-03-14 23:24:59 +00:00
2024-06-11 21:07:10 +08:00
2023-04-29 15:43:01 -04:00