aboutsummaryrefslogtreecommitdiffstats
path: root/models/activities/user_heatmap.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2025-01-29 21:40:44 -0800
committerGitHub <noreply@github.com>2025-01-30 05:40:44 +0000
commitf88dbf86b326966a4628f4d3d7986590f544336e (patch)
treeac7527af8ac0b5b98ff3b84d3294d494b0d19ecf /models/activities/user_heatmap.go
parent48183d2b05e2f71f16289d994a11c5fa0e6b4e69 (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Refactor repository transfer (#33211)HEADmain
- 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>
Diffstat (limited to 'models/activities/user_heatmap.go')
0 files changed, 0 insertions, 0 deletions