Use DeployKeyID to replace the IsDeployKey, then CanWriteCode uses the DeployKeyID to check the write permission. |
||
|---|---|---|
| .. | ||
| hook.go | ||
| internal.go | ||
| key.go | ||
| mail.go | ||
| manager.go | ||
| restore_repo.go | ||
| serv.go | ||
Use DeployKeyID to replace the IsDeployKey, then CanWriteCode uses the DeployKeyID to check the write permission. |
||
|---|---|---|
| .. | ||
| hook.go | ||
| internal.go | ||
| key.go | ||
| mail.go | ||
| manager.go | ||
| restore_repo.go | ||
| serv.go | ||