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/private
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
..
default_branch.go Refactor HTTP request context (#17979) 3 years ago
hook_post_receive.go show pull link for agit pull request also (#18235) 3 years ago
hook_pre_receive.go Fix the bug: deploy key with write access can not push (#19010) (#19182) 3 years ago
hook_proc_receive.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 4 years ago
hook_verification.go Move keys to models/asymkey (#17917) 3 years ago
internal.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 4 years ago
internal_repo.go Move repository model into models/repo (#17933) 3 years ago
key.go Refactor HTTP request context (#17979) 3 years ago
mail.go Do not send notification emails to inactive users (#19131) (#19139) 3 years ago
manager.go Refactor HTTP request context (#17979) 3 years ago
manager_unix.go Refactor HTTP request context (#17979) 3 years ago
manager_windows.go Refactor HTTP request context (#17979) 3 years ago
restore_repo.go Move migrations into services and base into modules/migration (#17663) 3 years ago
serv.go Fix the bug: deploy key with write access can not push (#19010) (#19182) 3 years ago
ssh_log.go add a new internal hook to save ssh log (#15787) 4 years ago