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

activity_event_policy.rb « agents « clusters « policies « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25fe1570b4b42c88aaca20734e40dc7eba6d4093 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Clusters
  module Agents
    class ActivityEventPolicy < BasePolicy
      alias_method :event, :subject

      delegate { event.agent }
    end
  end
end