0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-19 05:14:28 +01:00
gitea/routers/api/v1/repo
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
..
action.go
avatar.go
blob.go
branch.go Only allow admins to rename default/protected branches (#33276) 2025-01-15 20:51:49 +00:00
collaborators.go
commits.go
compare.go [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
download.go Refactor context RefName and RepoAssignment (#33226) 2025-01-13 01:07:05 +00:00
file.go Support choose email when creating a commit via web UI (#33432) 2025-01-30 01:24:57 +00:00
fork.go Fix system admin cannot fork or get private fork with API (#33401) 2025-01-27 16:25:14 +00:00
git_hook.go Refactor package (routes and error handling, npm peer dependency) (#33111) 2025-01-06 22:45:20 +08:00
git_ref.go
hook_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
hook.go
issue_attachment.go
issue_comment_attachment.go
issue_comment.go
issue_dependency.go
issue_label.go
issue_pin.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go
key.go
label.go
language.go
license.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
patch.go Support choose email when creating a commit via web UI (#33432) 2025-01-30 01:24:57 +00:00
pull_review.go
pull.go Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
release_attachment.go
release_tags.go
release.go
repo_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
repo.go [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go
transfer.go Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
tree.go
wiki.go