Module: ForemanDlm::FindHostByIp::ClassMethods

Defined in:
app/controllers/concerns/foreman_dlm/find_host_by_ip.rb

Instance Method Summary collapse

Instance Method Details

#authorize_host_by_ip(actions, _options = {}) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'app/controllers/concerns/foreman_dlm/find_host_by_ip.rb', line 8

def authorize_host_by_ip(actions, _options = {})
  skip_before_action :require_login, :only => actions, :raise => false
  skip_before_action :authorize, :only => actions
  skip_before_action :verify_authenticity_token, :only => actions
  skip_before_action :set_taxonomy, :only => actions, :raise => false
  skip_before_action :session_expiry, :update_activity_time, :only => actions
  before_action(:only => actions) {  }
  attr_reader :detected_host
end