debian-mirror-gitlab/lib/gitlab/cycle_analytics/issue_allowed.rb
2017-08-17 22:00:37 +05:30

9 lines
251 B
Ruby

module Gitlab
module CycleAnalytics
module IssueAllowed
def allowed_ids
@allowed_ids ||= IssuesFinder.new(@options[:current_user], project_id: @project.id).execute.where(id: event_result_ids).pluck(:id)
end
end
end
end