Skip to content

Add initial current organization middleware

Doug Stull requested to merge 437541-create-current-organization-middleware into master

What does this MR do and why?

Add initial current organization middleware

  • for setting and using current organization throughout the app.
  • using middleware will allow us to make available in api, controller and graphql layers
  • move away from using our own CurrentOrganization module and use the rails provided CurrentAttributes which attaches to threads the same way and provides some default tooling.
  • see #437541 (closed)

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