Sha256: e9ce0dd8e878c4a52033900d0788991f8722c249d1c441df22c53d522e4ea93a
Contents?: true
Size: 1.33 KB
Versions: 9
Compression:
Stored size: 1.33 KB
Contents
require 'katello/plugin.rb' Foreman::Plugin.find(:katello).security_block :content_hosts do permission :view_content_hosts, { 'katello/content_hosts' => [:auto_complete_search], 'katello/api/v2/systems' => [:index, :show, :errata, :package_profile, :product_content, :report, :releases, :available_host_collections], 'katello/api/v2/host_collections' => [:systems] }, :resource_type => 'Katello::System' permission :create_content_hosts, { 'katello/api/v2/systems' => [:create], 'katello/api/rhsm/candlepin_proxies' => [:consumer_create, :consumer_show] }, :resource_type => 'Katello::System' permission :edit_content_hosts, { 'katello/api/v2/systems' => [:update, :content_override], 'katello/api/rhsm/candlepin_proxies' => [:upload_package_profile, :regenerate_identity_certificates, :hypervisors_update] }, :resource_type => 'Katello::System' permission :destroy_content_hosts, { 'katello/api/v2/systems' => [:destroy] }, :resource_type => 'Katello::System' end
Version data entries
9 entries across 9 versions & 1 rubygems