summaryrefslogtreecommitdiff
path: root/app/models/clusters/agents/implicit_authorization.rb
blob: 967cc686045b60259f1112c28aed97da490da473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# frozen_string_literal: true

module Clusters
  module Agents
    class ImplicitAuthorization
      attr_reader :agent

      delegate :id, to: :agent, prefix: true
      delegate :project, to: :agent

      def initialize(agent:)
        @agent = agent
      end

      def config
        nil
      end
    end
  end
end