Sha256: afeb67183ba4f38891fef768fb2362041c00dc495eb6684d7421c7b450d071d9

Contents?: true

Size: 390 Bytes

Versions: 10

Compression:

Stored size: 390 Bytes

Contents

require 'katello/plugin.rb'

Foreman::Plugin.find(:katello).security_block :capsule_content do
  permission :manage_capsule_content,
             {
               'katello/api/v2/capsule_content' => [:lifecycle_environments, :available_lifecycle_environments, :add_lifecycle_environment, :remove_lifecycle_environment, :sync]
             },
             :resource_type => 'SmartProxy'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-2.4.5 lib/katello/permissions/capsule_content_permissions.rb
katello-2.4.4 lib/katello/permissions/capsule_content_permissions.rb
katello-2.4.3 lib/katello/permissions/capsule_content_permissions.rb
katello-2.4.2 lib/katello/permissions/capsule_content_permissions.rb
katello-2.4.1 lib/katello/permissions/capsule_content_permissions.rb
katello-2.4.0 lib/katello/permissions/capsule_content_permissions.rb
katello-2.4.0.rc3 lib/katello/permissions/capsule_content_permissions.rb
katello-2.4.0.rc2 lib/katello/permissions/capsule_content_permissions.rb
katello-2.4.0.rc1 lib/katello/permissions/capsule_content_permissions.rb
katello-2.2.2 lib/katello/permissions/capsule_content_permissions.rb