Geo: Fix SSH push proxy

What does this MR do?

Fixes SSH push Proxy for Geo secondary node.

In https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9502 I added JWT scope enforcement but I overlooked that SSH push proxy feature also uses JWT token. Thus it got broken. To generate scope in Gitlab::Geo::GitPushSSHProxy I would need to query the database to get project id from repository full path which is suboptimal. So I decided to use repository full path as a scope itself. It fixes this problem as well as makes code easier and more effective. However, we previously decided that we don't want to generate scope and to enforce it in the same release for the sake of a smooth update, so I reverted the scope enforcement for repositories in 11.9 and will schedule it for 11.10 again.

Closes https://gitlab.com/gitlab-org/quality/nightly/issues/78

Closes https://gitlab.com/gitlab-org/quality/nightly/issues/77

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Douglas Barbosa Alexandre

Merge request reports

Loading