Set current Organization by session

What does this MR do and why?

Take 2 of !194651 (merged), which was reverted due to increasing Redis memory usage.

Sets the organization ID in the session and subsequently retrieves the Organization ID from the session when present. This also unifies organization setting behavior between ApplicationController and those few controllers which fallback to the BaseActionController (like OAuth).

References

Screenshots or screen recordings

Before After

How to set up and validate locally

See comment - !194651 (comment 2625119409)

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 Drew Blessing

Merge request reports

Loading