BigW Consortium Gitlab

ci_access.rb 260 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
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