summaryrefslogtreecommitdiff
path: root/lib/gitlab/cycle_analytics/issue_allowed.rb
blob: a7652a7064193adcd78e9c0be82ca5861fdeaa3c (plain)
1
2
3
4
5
6
7
8
9
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