Skip to content

Update ghost user calls to per-organization model

What does this MR do and why?

Update ghost user calls to per-organization model

As part of the preparation for Cells, we must update all internal bot users to be per-organization rather than cluster-wide. This MR updates all calls to get the ghost user to specify which organization to get the ghost user for.

Also refactors specs to ensure that all references to Users::Internal.ghost without an organization are removed.

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.

Related to #565284

Merge request reports

Loading