mirror of
https://github.com/go-gitea/gitea.git
synced 2025-01-31 04:37:14 +08:00
f88dbf86b3
- 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> |
||
---|---|---|
.. | ||
avatar.go | ||
block_test.go | ||
block.go | ||
delete.go | ||
email_test.go | ||
email.go | ||
update_test.go | ||
update.go | ||
user_test.go | ||
user.go |