Welcome to mirror list, hosted at ThFree Co, Russian Federation.

user_project_access_changed_service.rb « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2469b4f0d7c7d37f91fb08667672da1839728573 (plain)
1
2
3
4
5
6
7
8
9
class UserProjectAccessChangedService
  def initialize(user_ids)
    @user_ids = Array.wrap(user_ids)
  end

  def execute
    AuthorizedProjectsWorker.bulk_perform_async(@user_ids.map { |id| [id] })
  end
end