Ensure Current.organization setting has guards around use

What does this MR do and why?

Ensure Current.organization is only assigned once per thread

  • add guardrails to Current.organization so it doesn't become some sort of magical black box.

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 #442751 (closed)

Merge request reports

Loading