Draft: Refactors EE logic out of CE context for user caps
What does this MR do and why?
We identified in that some EE specific code was accidentally setup in the CE context in this conversation: !75906 (comment 780025758)
The logic relates to validations/restrictions on the NamespaceSettings
when SaaS user caps are enabled, but that feature is an EE-only/Gitlab.com-only feature
This MR refactors moves it into the EE context.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Vijay Hawoldar