1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 01:34:25 +00:00
gitea/models/asymkey
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>
2022-03-23 13:44:41 +00:00
..
error.go Add support for ssh commit signing (#17743) 2021-12-19 00:37:18 -05:00
gpg_key_add.go
gpg_key_commit_verification.go Collaborator trust model should trust collaborators (#18539) (#18557) 2022-02-03 11:20:37 -05:00
gpg_key_common.go
gpg_key_import.go
gpg_key_test.go
gpg_key_verify.go
gpg_key.go
main_test.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
ssh_key_authorized_keys.go
ssh_key_authorized_principals.go
ssh_key_commit_verification.go Add support for ssh commit signing (#17743) 2021-12-19 00:37:18 -05:00
ssh_key_deploy.go Fix the bug: deploy key with write access can not push (#19010) (#19182) 2022-03-23 13:44:41 +00:00
ssh_key_fingerprint.go
ssh_key_parse.go Fix various typos (#18219) 2022-01-10 17:32:37 +08:00
ssh_key_principals.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
ssh_key_test.go Remove ioutil (#18222) 2022-01-10 09:48:13 +08:00
ssh_key_verify.go Migration 204 use Sync2 (#18044) 2021-12-20 18:58:38 +01:00
ssh_key.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00