Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure deploy keys with write access can push (#19010) #19182

Merged
merged 2 commits into from
Mar 23, 2022

Commits on Mar 23, 2022

  1. Fix the bug: deploy key with write access can not push (go-gitea#19010)

    Backport go-gitea#19010
    
    Use DeployKeyID to replace the IsDeployKey, then CanWriteCode uses the DeployKeyID to check the write permission.
    
    Fix go-gitea#19009
    
    Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
    wxiaoguang authored and zeripath committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    08f06af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a39451c View commit details
    Browse the repository at this point in the history