Sha256: ac79f32150e91e0dc1d29d194f184838dce2dcdced916f95515b7792687600f2

Contents?: true

Size: 366 Bytes

Versions: 9

Compression:

Stored size: 366 Bytes

Contents

module Foreman::Controller::Parameters::Policy
  extend ActiveSupport::Concern
  include Foreman::Controller::Parameters::PolicyApi

  class_methods do
    def policy_params_filter
      Foreman::ParameterFilter.new(::ForemanOpenscap::Policy).tap do |filter|
        filter.permit([:current_step, :wizard_initiated] + filter_params_list)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_openscap-0.7.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.6.7 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.7.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.6.6 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.6.5 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.6.4 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.6.3 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.6.2 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.6.1 app/controllers/concerns/foreman/controller/parameters/policy.rb