As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
  1. Dec 17, 2020
  2. Dec 16, 2020
  3. Dec 11, 2020
  4. Dec 10, 2020
  5. Nov 23, 2020
  6. Nov 20, 2020
  7. Nov 19, 2020
  8. Nov 18, 2020
  9. Nov 17, 2020
  10. Nov 06, 2020
  11. Nov 05, 2020
  12. Nov 04, 2020
  13. Nov 03, 2020
  14. Oct 23, 2020
  15. Oct 20, 2020
  16. Oct 19, 2020
    • Stan Hu's avatar
      Fix incorrect actor used to check permissions for SSH receive-pack · 354f5bf2
      Stan Hu authored
      During a SSH receive-pack request (e.g. `git push`), gitlab-shell was
      incorrectly using the user returned by the `/internal/allowed` API
      endpoint to make an SSHReceivePack RPC call. This caused a number of
      problems with deploy keys with write access:
      
      1. Keys that were generated by a blocked user would be denied the
      ability to write.
      
      2. Keys that were generated by user that did not have write access to
      the project would also be denied.
      
      GitLab 12.4 removed the Ruby implementation of gitlab-shell in favor of
      the Golang implementation, and these implementations worked slightly
      differently. In
      https://gitlab.com/gitlab-org/gitlab-shell/blob/v10.1.0/lib/gitlab_shell.rb,
      the Ruby implementation would always use `@who` (e.g. `key-123`), but in
      gitlab-shell v10.2.0 the Go implementation would always use the user
      from the API response.
      
      Reads did not have this issue because the user/deploy key is never
      passed to Gitaly for additional permission checks. Writes need this
      information for the pre-receive to check access to protected branches,
      push rules, etc.
      
      Relates to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/479
      354f5bf2
    • Patrick Bajao's avatar
      Merge branch 'ashmckenzie/set-ssl-cert-dir-env-var' into 'master' · c09bdad6
      Patrick Bajao authored
      Set SSL_CERT_DIR env var when building command
      
      See merge request gitlab-org/gitlab-shell!423
      c09bdad6
Loading