Skip to content

Add header to the Current organization setting in middleware

Doug Stull requested to merge 437541-add-session-setting-to-organization-id into master

What does this MR do and why?

next iteration in defining the Current.organization middleware logic

# Logic of setting the Current.organization:
      #   - Request header value from injection on frontend
      #   - TODO: Request header from injection from routing layer
      #     see ideas in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144811#note_1784126192

this means we will be removing the default organization setting logic we introduced for initial iteration.

MR acceptance checklist

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

Related to #437541 (closed)

Edited by Doug Stull

Merge request reports