Add an application setting for disabling project importing.
What does this MR do?
Adds an application setting to disable project importing. Defaults to false.
When project importing is disabled the import_sources
list is not displayed on the new project page.
When project importing is disabled the RepositoryImportWorker
will mark any attempted imports as failed.
Are there points in the code the reviewer needs to double check?
- Someone from UI may want to advise on the settings page change.
Why was this MR needed?
Requested in #22159 (moved)
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together