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-2.0.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.9 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-2.0.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.8 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.7 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.6 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.5 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.4 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.3 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.2 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-1.0.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.12.3 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.11.5 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.12.2 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.12.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.12.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.11.4 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.11.3 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.11.2 app/controllers/concerns/foreman/controller/parameters/policy.rb