Sha256: ade9abba02815b811ffbad335f21e5d6d7e4dbcfe6da4d054de6fc35df8019d4

Contents?: true

Size: 302 Bytes

Versions: 19

Compression:

Stored size: 302 Bytes

Contents

module Api
  module V2
    module HostsControllerExtensions
      extend ActiveSupport::Concern
      def index_node_permissions
        super.merge({
          :can_create_job_invocations => authorized_for(:controller => 'job_invocations', :action => 'create'),
        })
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.1 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-14.1.0 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-14.0.2 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-14.0.1 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-13.2.6 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-14.0.0 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-13.2.5 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-13.2.4 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-13.2.3 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-13.2.2 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-12.0.7 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-13.2.1 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-13.2.0 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-13.0.0 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-12.0.5 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-12.0.4 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-12.0.1 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-12.0.2 app/models/concerns/api/v2/hosts_controller_extensions.rb
foreman_remote_execution-12.0.0 app/models/concerns/api/v2/hosts_controller_extensions.rb