Sha256: 6f905e932b32c999f2596bff5afd37f37956da7ed83c9639b81804b96bb3fabc
Contents?: true
Size: 1.1 KB
Versions: 16
Compression:
Stored size: 1.1 KB
Contents
require 'katello/plugin.rb' Foreman::Plugin.find(:katello).security_block :lifecycle_environments do permission :view_lifecycle_environments, { 'katello/api/v2/environments' => [:index, :show, :paths, :repositories, :auto_complete_search], 'katello/api/rhsm/candlepin_proxies' => [:rhsm_index] }, :resource_type => 'Katello::KTEnvironment' permission :create_lifecycle_environments, { 'katello/api/v2/environments' => [:create] }, :resource_type => 'Katello::KTEnvironment' permission :edit_lifecycle_environments, { 'katello/api/v2/environments' => [:update] }, :resource_type => 'Katello::KTEnvironment' permission :destroy_lifecycle_environments, { 'katello/api/v2/environments' => [:destroy] }, :resource_type => 'Katello::KTEnvironment' permission :promote_or_remove_content_views_to_environments, {}, :resource_type => 'Katello::KTEnvironment' end
Version data entries
16 entries across 16 versions & 1 rubygems