gitlab-ce/app/controllers/concerns/harbor/access.rb

20 lines
315 B
Ruby

# frozen_string_literal: true
module Harbor
module Access
extend ActiveSupport::Concern
included do
before_action :authorize_read_harbor_registry!
feature_category :integrations
end
private
def authorize_read_harbor_registry!
raise NotImplementedError
end
end
end