You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
zeripath 93feb1a666
Fix the bug: deploy key with write access can not push (#19010) (#19182)
Backport #19010

Use DeployKeyID to replace the IsDeployKey, then CanWriteCode uses the DeployKeyID to check the write permission.

Fix #19009

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 years ago
..
admin Restrict email address validation (#17688) (#19085) 3 years ago
misc Move keys to models/asymkey (#17917) 3 years ago
notify Ignore missing comment for user notifications (#18954) (#19043) 3 years ago
org Add `GetUserTeams` (#18499) (#18531) 3 years ago
repo Fix the bug: deploy key with write access can not push (#19010) (#19182) 3 years ago
settings Make mirror feature more configurable (#16957) 4 years ago
swagger Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago
user Restrict email address validation (#17688) (#19085) 3 years ago
utils Use a standalone struct name for Organization (#17632) 3 years ago
api.go Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago