Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[OP#57901] Remove feature flag for custom fields multi-projects mgmt (#16760)

Kabiru Mwenja39a1a75774ec
diff --git a/app/views/custom_fields/edit.html.erb b/app/views/custom_fields/edit.html.erb
index ef9cb71b6f1..3417c07bbfc 100644
--- a/app/views/custom_fields/edit.html.erb
+++ b/app/views/custom_fields/edit.html.erb
@@ -29,19 +29,7 @@ See COPYRIGHT and LICENSE files for more details.
<% html_title t(:label_administration), "#{t(:label_edit)} #{CustomField.model_name.human} #{h @custom_field.name}" %>
-<% if OpenProject::FeatureDecisions.enable_custom_field_for_multiple_projects_active? %>
- <%= render(Admin::CustomFields::EditFormHeaderComponent.new(custom_field: @custom_field, selected: :edit)) %>
-<% else %>
- <%=
- render(Primer::OpenProject::PageHeader.new(test_selector: "custom-fields--page-header")) do |header|
- header.with_title { @custom_field.name }
- header.with_breadcrumbs([{ href: admin_index_path, text: t(:label_administration) },
- { href: custom_fields_path, text: t(:label_custom_field_plural) },
- { href: custom_fields_path(tab: @custom_field.type), text: I18n.t(@custom_field.type_name) },
- @custom_field.name])
- end
- %>
-<% end %>
+<%= render(Admin::CustomFields::EditFormHeaderComponent.new(custom_field: @custom_field, selected: :edit)) %>
<%= error_messages_for 'custom_field' %>
diff --git a/config/initializers/feature_decisions.rb b/config/initializers/feature_decisions.rb
index 7531b794408..62a972b4993 100644
--- a/config/initializers/feature_decisions.rb
+++ b/config/initializers/feature_decisions.rb
@@ -47,9 +47,5 @@ OpenProject::FeatureDecisions.add :meeting_updated_notification,
description: "Allow flash messages to notify users about concurrent meeting edits. " \
"See work package #54744 for more details."
-OpenProject::FeatureDecisions.add :enable_custom_field_for_multiple_projects,
- description: "Allow a custom field to be enabled for multiple projects at once. " \
- "See work package #56909 for more details."
-
OpenProject::FeatureDecisions.add :built_in_oauth_applications,
description: "Allows the display and use of built-in OAuth applications."