Skip to content

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)

image

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#22159 (moved)

Merge request reports