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

implicit_authorization.rb « ci_access « authorizations « agents « clusters « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b996ae3f92b0abee455f000a5e62140eb3c9369f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# frozen_string_literal: true

module Clusters
  module Agents
    module Authorizations
      module CiAccess
        class ImplicitAuthorization
          attr_reader :agent

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

          def initialize(agent:)
            @agent = agent
          end

          def config_project
            agent.project
          end

          def config
            {}
          end
        end
      end
    end
  end
end