Sha256: b2fea9dd30df434c20e82655da04242b28522ceb334ce8c5f9c0793ceb4730a0
Contents?: true
Size: 1.24 KB
Versions: 16
Compression:
Stored size: 1.24 KB
Contents
require 'katello/plugin.rb' Foreman::Plugin.find(:katello).security_block :activation_keys do permission :view_activation_keys, { 'katello/activation_keys' => [:all, :index], 'katello/api/v2/activation_keys' => [:index, :show, :available_host_collections, :available_releases, :product_content, :auto_complete_search] }, :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, :add_host_collections, :remove_host_collections] }, :resource_type => 'Katello::ActivationKey' permission :destroy_activation_keys, { 'katello/api/v2/activation_keys' => [:destroy] }, :resource_type => 'Katello::ActivationKey' end
Version data entries
16 entries across 16 versions & 1 rubygems