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

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

module Clusters
  class AgentPolicy < BasePolicy
    alias_method :cluster_agent, :subject

    delegate { cluster_agent.project }
  end
end