Commit 1b777000 authored by Jarka Košanová's avatar Jarka Košanová

Merge branch 'kassio/enable-import_project_from_remote_file-by-default' into 'master'

Enable import_project_from_remote_file feature by default

See merge request gitlab-org/gitlab!79675
parents 7fd347f3 575d5a42
...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/330039 ...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/330039
milestone: '13.12' milestone: '13.12'
type: development type: development
group: group::import group: group::import
default_enabled: false default_enabled: true
...@@ -190,7 +190,7 @@ As an administrator, you can modify the maximum import file size. To do so, use ...@@ -190,7 +190,7 @@ As an administrator, you can modify the maximum import file size. To do so, use
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/282503) in GitLab 13.12 in [Beta](https://about.gitlab.com/handbook/product/gitlab-the-product/#beta). > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/282503) in GitLab 13.12 in [Beta](https://about.gitlab.com/handbook/product/gitlab-the-product/#beta).
This endpoint is behind a feature flag that is disabled by default. This endpoint is behind a feature flag that is enabled by default.
To enable this endpoint: To enable this endpoint:
......
...@@ -133,7 +133,7 @@ module API ...@@ -133,7 +133,7 @@ module API
success Entities::ProjectImportStatus success Entities::ProjectImportStatus
end end
post 'remote-import' do post 'remote-import' do
not_found! unless ::Feature.enabled?(:import_project_from_remote_file) not_found! unless ::Feature.enabled?(:import_project_from_remote_file, default_enabled: :yaml)
check_rate_limit! :project_import, scope: [current_user, :project_import] check_rate_limit! :project_import, scope: [current_user, :project_import]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment