Sha256: b5dd9ace11af29af56d8fbe3da4846aea25988d4daeb201de0cf30f2a14cbb68

Contents?: true

Size: 1.62 KB

Versions: 12

Compression:

Stored size: 1.62 KB

Contents

require 'katello/plugin.rb'

Foreman::AccessControl.permission(:edit_hosts).actions.concat [
  'api/v2/hosts/host_collections',
  'katello/api/v2/host_errata/apply',
  'katello/api/v2/host_packages/install',
  'katello/api/v2/host_packages/upgrade',
  'katello/api/v2/host_packages/upgrade_all',
  'katello/api/v2/host_packages/remove',
  'katello/api/v2/host_subscriptions/auto_attach',
  'katello/api/v2/host_subscriptions/add_subscriptions',
  'katello/api/v2/host_subscriptions/remove_subscriptions',
  'katello/api/v2/host_subscriptions/content_override',
  'katello/api/v2/hosts_bulk_actions/bulk_add_host_collections',
  'katello/api/v2/hosts_bulk_actions/bulk_remove_host_collections',
  'katello/api/v2/hosts_bulk_actions/install_content',
  'katello/api/v2/hosts_bulk_actions/update_content',
  'katello/api/v2/hosts_bulk_actions/remove_content',
  'katello/api/v2/hosts_bulk_actions/environment_content_view'
]

Foreman::AccessControl.permission(:view_hosts).actions.concat [
  'hosts/puppet_environment_for_content_view',
  'katello/api/v2/host_autocomplete/auto_complete_search',
  'katello/api/v2/host_errata/index',
  'katello/api/v2/host_errata/show',
  'katello/api/v2/host_errata/auto_complete_search',
  'katello/api/v2/host_subscriptions/index',
  'katello/api/v2/host_subscriptions/events',
  'katello/api/v2/host_subscriptions/product_content',
  'katello/api/v2/hosts_bulk_actions/installable_errata',
  'katello/api/v2/hosts_bulk_actions/available_incremental_updates',
  'katello/api/v2/host_packages/index'
]

Foreman::AccessControl.permission(:destroy_hosts).actions.concat [
  'katello/api/v2/hosts_bulk_actions/destroy_hosts'
]

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
katello-3.1.0.1 lib/katello/permissions/host_permissions.rb
katello-3.1.0 lib/katello/permissions/host_permissions.rb
katello-3.1.0.rc2.1 lib/katello/permissions/host_permissions.rb
katello-3.0.2 lib/katello/permissions/host_permissions.rb
katello-3.1.0.rc1 lib/katello/permissions/host_permissions.rb
katello-3.0.1 lib/katello/permissions/host_permissions.rb
katello-3.0.0 lib/katello/permissions/host_permissions.rb
katello-3.0.0.rc7 lib/katello/permissions/host_permissions.rb
katello-3.0.0.rc5 lib/katello/permissions/host_permissions.rb
katello-3.0.0.rc4 lib/katello/permissions/host_permissions.rb
katello-3.0.0.rc3 lib/katello/permissions/host_permissions.rb
katello-3.0.0.rc2 lib/katello/permissions/host_permissions.rb