Sha256: ee2e7048c548cef62035e1d2e1b854e6f74343915d3320008073e887c67a3b53
Contents?: true
Size: 1.14 KB
Versions: 30
Compression:
Stored size: 1.14 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], 'katello/api/rhsm/candlepin_proxies' => [:rhsm_index], 'katello/environments' => [:auto_complete_search] }, :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
30 entries across 30 versions & 1 rubygems