Skip to content

Global organization route prefix

What does this MR do and why?

This MR will dynamically route any path received with a URL path of /o/my-org/<some-path> to a path of <some-path>. The X-Gitlab-Organization-ID header will be set as the ID of the Organization with the matching my-org path.

We start at !209311 (diffs) routes and pass to !209311 (diffs) where we essentially query the routes for the non-org scoped route and then forward through.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Alex Pooley

Merge request reports

Loading