Allow disabling mirroring through configuration
Problem to solve
As an admin, I want to be able to disable repository mirroring through configuration in a continuous delivery context.
Further details
Mirroring can be disabled through UI, but I was not able to find the associated configuration in the gitlab.rb file. In a continuous delivery context, configuration is done by conf file, instead of manual step (that can be forgotten in case of reinstallation).
About the use case, we (a company) want to disable this feature (for now) because we are struggling with shadow IT. People creating their own gitlab to do whatever they want, without any concern about security, backup and so on. Mirroring is a bood way for them to still do whatever they want, and still be ok with company rules. However there are still security concerns. For that purpose, and until shadow IT is not shadow anymore, we want to be able to disable mirroring through configuration.
The UI gives this option:
Proposal
Maybe a setting called mirroring_allowed_to_admin_only
?
What does success look like, and how can we measure that?
Success is measured by the fact that this option can be controlled through configuration.