Skip to content

Custom Action support

Ash McKenzie requested to merge ash.mckenzie/geo-git-push-ssh-proxy into master

What does this MR do?

Adds Custom Action support to api/allowed endpoint. Also brings in proper HTTP status codes returned from api/allowed.

Currently, only EE will have the ability to return a Gitlab::GitAccessResult::CustomAction.

Are there points in the code the reviewer needs to double check?

  • FIXMEs removed
  • Need Changelog entry?
  • Need documentation change?

Works with https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6456 - SSH git push to secondary -> proxy to Primary

Why was this MR needed?

To facilitate the proxying of SSH git push requests sent to the primary, from the secondary https://gitlab.com/gitlab-org/gitlab-ee/issues/6533

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/6533

Edited by Ash McKenzie

Merge request reports