Sha256: 30fbd971d73312f04956a16ea263891b93128c9cb7e33b603aa3ef0a6b81057e

Contents?: true

Size: 968 Bytes

Versions: 29

Compression:

Stored size: 968 Bytes

Contents

require 'katello/plugin.rb'

Foreman::Plugin.find(:katello).security_block :host_collections do
  permission :view_host_collections,
             {
               'katello/api/v2/host_collections' => [:index, :show],
               'katello/host_collections' => [:auto_complete_search]
             },
             :resource_type => 'Katello::HostCollection'
  permission :create_host_collections,
             {
               'katello/api/v2/host_collections' => [:create, :copy]
             },
             :resource_type => 'Katello::HostCollection'
  permission :edit_host_collections,
             {
               'katello/api/v2/host_collections' => [:update, :add_systems, :remove_systems]
             },
             :resource_type => 'Katello::HostCollection'
  permission :destroy_host_collections,
             {
               'katello/api/v2/host_collections' => [:destroy]
             },
             :resource_type => 'Katello::HostCollection'
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
katello-3.2.1.1 lib/katello/permissions/host_collections_permissions.rb
katello-3.2.1 lib/katello/permissions/host_collections_permissions.rb
katello-3.2.0 lib/katello/permissions/host_collections_permissions.rb
katello-3.2.0.rc3 lib/katello/permissions/host_collections_permissions.rb
katello-3.2.0.rc2 lib/katello/permissions/host_collections_permissions.rb
katello-3.2.0.rc1.1 lib/katello/permissions/host_collections_permissions.rb
katello-3.2.0.rc1 lib/katello/permissions/host_collections_permissions.rb
katello-3.1.0.1 lib/katello/permissions/host_collections_permissions.rb
katello-3.1.0 lib/katello/permissions/host_collections_permissions.rb
katello-3.1.0.rc2.1 lib/katello/permissions/host_collections_permissions.rb
katello-3.0.2 lib/katello/permissions/host_collections_permissions.rb
katello-2.4.5 lib/katello/permissions/host_collections_permissions.rb
katello-3.1.0.rc1 lib/katello/permissions/host_collections_permissions.rb
katello-3.0.1 lib/katello/permissions/host_collections_permissions.rb
katello-2.4.4 lib/katello/permissions/host_collections_permissions.rb
katello-3.0.0 lib/katello/permissions/host_collections_permissions.rb
katello-2.4.3 lib/katello/permissions/host_collections_permissions.rb
katello-3.0.0.rc7 lib/katello/permissions/host_collections_permissions.rb
katello-3.0.0.rc5 lib/katello/permissions/host_collections_permissions.rb
katello-2.4.2 lib/katello/permissions/host_collections_permissions.rb