Sha256: 30e4666b7fcffa5cdc2f2ffc86d07c230bcca8f30d62ef25cb5e1dd62c66840b
Contents?: true
Size: 1.04 KB
Versions: 26
Compression:
Stored size: 1.04 KB
Contents
require 'katello/plugin.rb' Foreman::Plugin.find(:katello).security_block :activation_keys do permission :view_activation_keys, { 'katello/activation_keys' => [:all, :index, :auto_complete_search], 'katello/api/v2/activation_keys' => [:index, :show, :available_host_collections, :available_releases, :product_content] }, :resource_type => 'Katello::ActivationKey' permission :create_activation_keys, { 'katello/api/v2/activation_keys' => [:create, :copy] }, :resource_type => 'Katello::ActivationKey' permission :edit_activation_keys, { 'katello/api/v2/activation_keys' => [:update, :content_override, :add_subscriptions, :remove_subscriptions] }, :resource_type => 'Katello::ActivationKey' permission :destroy_activation_keys, { 'katello/api/v2/activation_keys' => [:destroy] }, :resource_type => 'Katello::ActivationKey' end
Version data entries
26 entries across 26 versions & 1 rubygems