Sha256: 7a6d5a212a6b4005cb0b9c7b0063351ef6ac76aec5c3bcba99edea1640bb1b1b
Contents?: true
Size: 917 Bytes
Versions: 16
Compression:
Stored size: 917 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, :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_hosts, :remove_hosts] }, :resource_type => 'Katello::HostCollection' permission :destroy_host_collections, { 'katello/api/v2/host_collections' => [:destroy] }, :resource_type => 'Katello::HostCollection' end
Version data entries
16 entries across 16 versions & 1 rubygems