Sha256: 31899dfc9323169217b068e94f1a9fc5bec2c2bb92f8cbdc53d19fc986766318

Contents?: true

Size: 365 Bytes

Versions: 90

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

90 entries across 90 versions & 1 rubygems

Version Path
foreman_openscap-0.11.2 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.11.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.11.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.10.4 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.10.3 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.10.2 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.10.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.9.3 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.10.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.7.13 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.8.6 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.9.2 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.9.1 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.8.5 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.7.12 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.9.0 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.8.4 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.7.11 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.7.10 app/controllers/concerns/foreman/controller/parameters/policy.rb
foreman_openscap-0.8.3 app/controllers/concerns/foreman/controller/parameters/policy.rb