Project

General

Profile

« Previous | Next » 

Revision 6691ebcc

Added by Shlomi Zadok over 7 years ago

Fixes #17842 - Adds 'type = compute_resource' to Audit search

(cherry picked from commit a503379ae944faf95534e02069692ec95eb9a677)

View differences:

app/models/concerns/audit_extensions.rb
scoped_search :on => :action, :complete_value => { :create => 'create', :update => 'update', :delete => 'destroy' }
scoped_search :on => :auditable_type, :complete_value => { :host => 'Host', :parameter => 'Parameter', :architecture => 'Architecture',
:puppetclass => 'Puppetclass', :os => 'Operatingsystem', :hostgroup => 'Hostgroup',
:template => "ProvisioningTemplate", :lookupvalue => 'LookupValue' }, :rename => :type
:template => "ProvisioningTemplate", :override_value => 'LookupValue',
:compute_resource => 'ComputeResource'}, :rename => :type
scoped_search :in => :search_parameters, :on => :name, :complete_value => true, :rename => :parameter, :only_explicit => true
scoped_search :in => :search_templates, :on => :name, :complete_value => true, :rename => :template, :only_explicit => true

Also available in: Unified diff