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

authorized_build_service.rb « users « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 446c897fe5a302e14df9d5aa965dcc316189ddc3 (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 Users
  class AuthorizedBuildService < BuildService
    extend ::Gitlab::Utils::Override

    private

    override :validate_access!
    def validate_access!
      # no-op
    end

    def signup_params
      super + [:skip_confirmation, :external]
    end
  end
end

Users::AuthorizedBuildService.prepend_mod_with('Users::AuthorizedBuildService')