Sha256: 742947db5c83c8f8bfa67767613526a78a5a9cdd29a6fdca90f55b6eaa06bb28
Contents?: true
Size: 913 Bytes
Versions: 16
Compression:
Stored size: 913 Bytes
Contents
require 'katello/plugin.rb' Foreman::Plugin.find(:katello).security_block :sync_plans do permission :view_sync_plans, { 'katello/api/v2/sync_plans' => [:index, :show, :add_products, :remove_products, :available_products, :auto_complete_search], 'katello/api/v2/products' => [:index] }, :resource_type => 'Katello::SyncPlan' permission :create_sync_plans, { 'katello/api/v2/sync_plans' => [:create] }, :resource_type => 'Katello::SyncPlan' permission :edit_sync_plans, { 'katello/api/v2/sync_plans' => [:update] }, :resource_type => 'Katello::SyncPlan' permission :destroy_sync_plans, { 'katello/api/v2/sync_plans' => [:destroy] }, :resource_type => 'Katello::SyncPlan' end
Version data entries
16 entries across 16 versions & 1 rubygems