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

Fix another typo

Klaus Zandersa704445ae4ed
diff --git a/modules/bim/lib/open_project/bim/engine.rb b/modules/bim/lib/open_project/bim/engine.rb
index 37455afed1f..b18f8e6d26a 100644
--- a/modules/bim/lib/open_project/bim/engine.rb
+++ b/modules/bim/lib/open_project/bim/engine.rb
@@ -178,7 +178,7 @@ module OpenProject::Bim
links :bcfViewpoints do
journable = represented.journable
- next unless current_user.allowed_in_project?(:view_linked_issues, represented.format) &&
+ next unless current_user.allowed_in_project?(:view_linked_issues, represented.project) &&
represented.bcf_comment.present? && journable.bcf_issue?
# There will only be one viewpoint per comment but we nevertheless return a collection here so that it is more