1
0
Fork 0
forked from NYANDEV/forgejo
forgejo/modules/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
..
hook.go Fix the bug: deploy key with write access can not push () () 2022-03-23 13:44:41 +00:00
internal.go Replace "unix" by "http+unix" for PROTOCOL () 2021-12-05 23:46:11 -05:00
key.go refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
mail.go refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
manager.go Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
restore_repo.go refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
serv.go Fix the bug: deploy key with write access can not push () () 2022-03-23 13:44:41 +00:00