Actions
Bug #12898
closedcreating a host with content view and lifecycle enviroment fails with mass security assignment
Description
| ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes for Host::Managed: content_facet_attributes): | app/models/host/base.rb:97:in `initialize' | app/models/host/managed.rb:45:in `initialize' | app/models/concerns/foreman/sti.rb:22:in `new_with_cast' | app/models/host.rb:15:in `method_missing' | app/controllers/hosts_controller.rb:580:in `process_hostgroup' | app/controllers/concerns/application_shared.rb:13:in `set_timezone' | app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' | lib/middleware/catch_json_parse_errors.rb:9:in `call'
Actions