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

Hide sharing behind the feature flag

Klaus Zanders327a61492256
diff --git a/app/components/projects/index_page_header_component.html.erb b/app/components/projects/index_page_header_component.html.erb
index 63c90ec6b29..df5641ccd3e 100644
--- a/app/components/projects/index_page_header_component.html.erb
+++ b/app/components/projects/index_page_header_component.html.erb
@@ -21,7 +21,7 @@
)
end
- if query.persisted?
+ if query.persisted? && OpenProject::FeatureDecisions.project_list_sharing_active?
header.with_action_icon_button(
tag: :a,
href: dialog_project_query_members_path(query),