gitlab-org--gitlab-foss/lib/gitlab/cycle_analytics/issue_allowed.rb

10 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