lib/katello/permission_creator.rb in katello-4.12.1 vs lib/katello/permission_creator.rb in katello-4.13.0.rc1
- old
+ new
@@ -52,11 +52,11 @@
def capsule_content_permissions
@plugin.permission :manage_capsule_content,
{
'katello/api/v2/capsule_content' => [:add_lifecycle_environment, :remove_lifecycle_environment,
- :update_counts, :sync, :reclaim_space, :cancel_sync],
+ :update_counts, :sync, :reclaim_space, :verify_checksum, :cancel_sync],
'katello/api/v2/capsules' => [:index, :show]
},
:resource_type => 'SmartProxy'
@plugin.permission :view_capsule_content,
@@ -132,18 +132,18 @@
:resource_type => 'Katello::ContentView',
:finder_scope => :deletable
@plugin.permission :publish_content_views,
{
'katello/api/v2/content_views' => [:publish],
- 'katello/api/v2/content_view_versions' => [:incremental_update, :republish_repositories],
+ 'katello/api/v2/content_view_versions' => [:incremental_update, :republish_repositories, :verify_checksum],
'katello/api/v2/content_imports' => [:version, :index]
},
:resource_type => 'Katello::ContentView',
:finder_scope => :publishable
@plugin.permission :promote_or_remove_content_views,
{
'katello/api/v2/content_view_versions' => [:promote],
- 'katello/api/v2/content_views' => [:remove_from_environment, :remove, :republish_repositories]
+ 'katello/api/v2/content_views' => [:remove_from_environment, :remove, :republish_repositories, :verify_checksum]
},
:resource_type => 'Katello::ContentView',
:finder_scope => :promotable_or_removable
end