Make it easier to mimic SaaS install of GitLab with check_namespace_plan in development
GitLab has a check_namespace_plan
application setting that allows for different namespaces to be under different plans. This is very useful in development to quickly check behaviour under different plans.
With !73611 (merged), the logic was changed such that check_namespace_plan
only works if the installation is considered SaaS, as in, passes the ::Gitlab.com?
check. So, for local development, to make use of check_namespace_plan
, the ::Gitlab.com?
method needs to be patched to always return true
, and then the application must be restarted.
It would be good to have this ability back without having to patch anything.
Edited by Mark Florian