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

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

module Gitlab
  # For backwards compatibility, generic CI (which is a build without a user) is
  # allowed to :build_download_code without any other checks.
  class CiAccess
    def can_do_action?(action)
      action == :build_download_code
    end
  end
end