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

Remove custom_fields_in_projects_list guarding residues

Dombi Attila2aff0774b933
diff --git a/app/components/projects/projects_filters_component.html.erb b/app/components/projects/projects_filters_component.html.erb
index a48961841fb..96cba9e261d 100644
--- a/app/components/projects/projects_filters_component.html.erb
+++ b/app/components/projects/projects_filters_component.html.erb
@@ -105,15 +105,5 @@
</div>
</li>
</ul>
- <% unless EnterpriseToken.allows_to?(:custom_fields_in_projects_list)%>
- <%=
- helpers.angular_component_tag 'op-enterprise-banner',
- inputs: {
- collapsible: true,
- textMessage: t('ee.upsale.project_filters.description_html'),
- moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:custom_field_projects][:href],
- }
- %>
- <% end %>
</fieldset>
<% end %>
diff --git a/app/services/authorization/enterprise_service.rb b/app/services/authorization/enterprise_service.rb
index 699d93a1c3d..f07c857f0da 100644
--- a/app/services/authorization/enterprise_service.rb
+++ b/app/services/authorization/enterprise_service.rb
@@ -34,7 +34,6 @@ class Authorization::EnterpriseService
board_view
conditional_highlighting
custom_actions
- custom_fields_in_projects_list
date_alerts
define_custom_style
edit_attribute_groups
diff --git a/spec/features/projects/projects_index_spec.rb b/spec/features/projects/projects_index_spec.rb
index 6abc4517b78..ff395e1a6c9 100644
--- a/spec/features/projects/projects_index_spec.rb
+++ b/spec/features/projects/projects_index_spec.rb
@@ -281,7 +281,7 @@ RSpec.describe "Projects index page", :js, :with_cuprite, with_settings: { login
end
end
- context "for project attributes", with_ee: %i[custom_fields_in_projects_list] do
+ context "for project attributes" do
let(:user) do
create(:user,
member_with_roles: {