BigW Consortium Gitlab

Commit 41075bad by Douwe Maan

Chaining ftw

parent 27d952b1
......@@ -49,13 +49,9 @@ module Participable
end
participants_for(value, current_user)
end.compact.uniq
participants.select! do |user|
end.compact.uniq.select do |user|
user.can?(:read_project, self.project)
end
participants
end
private
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment