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