1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/routers/private
zeripath 93feb1a666
Fix the bug: deploy key with write access can not push () ()
Backport 

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

Fix 

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-03-23 13:44:41 +00:00
..
default_branch.go Refactor HTTP request context () 2021-12-15 14:59:57 +08:00
hook_post_receive.go show pull link for agit pull request also () 2022-01-17 13:56:43 +08:00
hook_pre_receive.go Fix the bug: deploy key with write access can not push () () 2022-03-23 13:44:41 +00:00
hook_proc_receive.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs () 2021-09-16 15:34:54 +02:00
hook_verification.go Move keys to models/asymkey () 2021-12-10 16:14:24 +08:00
internal_repo.go Move repository model into models/repo () 2021-12-10 09:27:50 +08:00
internal.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs () 2021-09-16 15:34:54 +02:00
key.go Refactor HTTP request context () 2021-12-15 14:59:57 +08:00
mail.go Do not send notification emails to inactive users () () 2022-03-19 18:33:32 +00:00
manager_unix.go Refactor HTTP request context () 2021-12-15 14:59:57 +08:00
manager_windows.go Refactor HTTP request context () 2021-12-15 14:59:57 +08:00
manager.go Refactor HTTP request context () 2021-12-15 14:59:57 +08:00
restore_repo.go Move migrations into services and base into modules/migration () 2021-11-16 23:25:33 +08:00
serv.go Fix the bug: deploy key with write access can not push () () 2022-03-23 13:44:41 +00:00
ssh_log.go add a new internal hook to save ssh log () 2021-05-21 17:37:16 -04:00