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

removes distinct as rails will handle it if necessary

ulferts3bf706b153a5
diff --git a/app/services/authorization/abstract_query.rb b/app/services/authorization/abstract_query.rb
index a69bce8cdcf..9cb5fc7b043 100644
--- a/app/services/authorization/abstract_query.rb
+++ b/app/services/authorization/abstract_query.rb
@@ -36,7 +36,6 @@ class Authorization::AbstractQuery
model.unscoped
.joins(joins(arel))
.where(wheres(arel))
- .distinct
end
def self.base_query