Commit 973c2a79 authored by Rajat Jain's avatar Rajat Jain

Default enable import_requirements_csv FF

parent 9eae6b36
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/284846
milestone: '13.7'
type: development
group: group::product planning
default_enabled: false
default_enabled: true
......@@ -8,7 +8,7 @@ class Projects::RequirementsManagement::RequirementsController < Projects::Appli
before_action :authorize_read_requirement!
before_action :authorize_import_access!, only: [:import_csv, :authorize]
before_action do
push_frontend_feature_flag(:import_requirements_csv, project)
push_frontend_feature_flag(:import_requirements_csv, project, default_enabled: true)
end
feature_category :requirements_management
......@@ -34,7 +34,7 @@ class Projects::RequirementsManagement::RequirementsController < Projects::Appli
end
def authorize_import_access!
render_404 unless Feature.enabled?(:import_requirements_csv, project, default_enabled: false)
render_404 unless Feature.enabled?(:import_requirements_csv, project, default_enabled: true)
return if can?(current_user, :import_requirements, project)
......
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