2021-03-08 18:12:59 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Groups
|
|
|
|
module Settings
|
|
|
|
class PackagesAndRegistriesController < Groups::ApplicationController
|
2021-04-29 21:17:54 +05:30
|
|
|
layout 'group_settings'
|
2021-03-08 18:12:59 +05:30
|
|
|
before_action :authorize_admin_group!
|
2021-03-11 19:13:27 +05:30
|
|
|
before_action :verify_packages_enabled!
|
2021-03-08 18:12:59 +05:30
|
|
|
|
|
|
|
feature_category :package_registry
|
2022-07-16 23:28:13 +05:30
|
|
|
urgency :low
|
2021-03-08 18:12:59 +05:30
|
|
|
|
2021-06-08 01:23:25 +05:30
|
|
|
def show
|
2021-03-08 18:12:59 +05:30
|
|
|
end
|
2021-03-11 19:13:27 +05:30
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def verify_packages_enabled!
|
|
|
|
render_404 unless group.packages_feature_enabled?
|
|
|
|
end
|
2021-03-08 18:12:59 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|