0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-30 22:45:11 +01:00
gitea/routers/api/v1
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
..
activitypub Remove SHA1 for support for ssh rsa signing (#31857) 2024-09-07 18:05:18 -04:00
admin Let API create and edit system webhooks, attempt 2 (#33180) 2025-01-13 17:17:39 +00:00
misc Fix markup render regression and fix some tests (#32640) 2024-11-26 03:04:55 +08:00
notify Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
org Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
repo Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
settings Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
shared Refactor names (#31405) 2024-06-19 06:32:45 +08:00
swagger Fix sync fork for consistency (#33147) 2025-01-10 05:29:55 +00:00
user Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
utils Add tests for webhook and fix some webhook bugs (#33396) 2025-01-30 03:09:48 +00:00
api.go Fix sync fork for consistency (#33147) 2025-01-10 05:29:55 +00:00