Sha256: 31899dfc9323169217b068e94f1a9fc5bec2c2bb92f8cbdc53d19fc986766318

Contents?: true

Size: 365 Bytes

Versions: 89

Compression:

Stored size: 365 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(%i[current_step wizard_initiated] + filter_params_list)
      end
    end
  end
end

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
foreman_openscap-10.0.2 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-10.0.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-10.0.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-9.0.4 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-9.0.3 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-9.0.2 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-9.0.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-9.0.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-8.0.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-7.1.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-7.1.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-7.0.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-6.0.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-5.2.3 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-5.2.2 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-5.1.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-5.2.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-5.2.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-5.1.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-5.0.0 app/controllers/concerns/foreman/controller/parameters/policy.rb