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 TODO

Klaus Zanders1f242f1e3b9a
diff --git a/app/models/project.rb b/app/models/project.rb
index 744aab02073..e433196e2b9 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -206,7 +206,6 @@ class Project < ApplicationRecord
# to everybody having at least one role in a project regardless of the
# role's permissions.
def self.visible_by(user = User.current)
- # TODO: Temporary ...
allowed_to(user, :view_project).or(where(id: WorkPackage.visible(user).select(:project_id)))
end