lib/katello/plugin.rb in katello-4.3.1 vs lib/katello/plugin.rb in katello-4.4.0.rc1
- old
+ new
@@ -297,14 +297,16 @@
extend_model ::Katello::Concerns::SubscriptionFacetHostExtensions
end
describe_host do
overview_buttons_provider :content_host_overview_button
+ multiple_actions_provider :hosts_change_content_source
end
if Katello.with_remote_execution?
RemoteExecutionFeature.register(:katello_package_install, N_("Katello: Install Package"), :description => N_("Install package via Katello interface"), :provided_inputs => ['package'])
+ RemoteExecutionFeature.register(:katello_package_install_by_search, N_("Katello: Install packages by search query"), :description => N_("Install packages via Katello interface"), :provided_inputs => ['Package search query'])
RemoteExecutionFeature.register(:katello_package_update, N_("Katello: Update Package"), :description => N_("Update package via Katello interface"), :provided_inputs => ['package'])
RemoteExecutionFeature.register(:katello_package_remove, N_("Katello: Remove Package"), :description => N_("Remove package via Katello interface"), :provided_inputs => ['package'])
RemoteExecutionFeature.register(:katello_group_install, N_("Katello: Install Package Group"), :description => N_("Install package group via Katello interface"), :provided_inputs => ['package'])
RemoteExecutionFeature.register(:katello_group_update, N_("Katello: Update Package Group"), :description => N_("Update package group via Katello interface"), :provided_inputs => ['package'])
RemoteExecutionFeature.register(:katello_group_remove, N_("Katello: Remove Package Group"), :description => N_("Remove package group via Katello interface"), :provided_inputs => ['package'])
@@ -338,10 +340,10 @@
.preload(content_facet: [:bound_repositories, :content_view, :lifecycle_environment])
end
register_info_provider Katello::Host::InfoProvider
- medium_providers.register(Katello::ManagedContentMediumProvider)
+ medium_providers_registry.register(Katello::ManagedContentMediumProvider)
Katello::PermissionCreator.new(self).define
add_all_permissions_to_default_roles
unless Rails.env.test?
add_permissions_to_default_roles 'System admin' => [:create_lifecycle_environments, :create_content_views]