Module: Api::V2::HostsControllerExtensions

Extended by:
ActiveSupport::Concern
Defined in:
app/models/concerns/api/v2/hosts_controller_extensions.rb

Instance Method Summary collapse

Instance Method Details

#index_node_permissionsObject



5
6
7
8
9
# File 'app/models/concerns/api/v2/hosts_controller_extensions.rb', line 5

def index_node_permissions
  super.merge({
    :can_create_job_invocations => authorized_for(:controller => 'job_invocations', :action => 'create'),
  })
end