lib/katello/permission_creator.rb in katello-3.16.2 vs lib/katello/permission_creator.rb in katello-3.17.0.rc1
- old
+ new
@@ -302,12 +302,12 @@
},
:resource_type => 'Katello::Product'
@plugin.permission :edit_products,
{
'katello/api/v2/products' => [:update],
- 'katello/api/v2/repositories' => [:update, :remove_content, :import_uploads, :upload_content, :republish, :verify_checksum],
- 'katello/api/v2/products_bulk_actions' => [:update_sync_plans, :update_http_proxy, :verify_checksum_products],
+ 'katello/api/v2/repositories' => [:update, :remove_content, :import_uploads, :upload_content, :republish],
+ 'katello/api/v2/products_bulk_actions' => [:update_sync_plans, :update_http_proxy],
'katello/api/v2/content_uploads' => [:create, :update, :destroy],
'katello/api/v2/organizations' => [:repo_discover, :cancel_repo_discover]
},
:resource_type => 'Katello::Product'
@plugin.permission :destroy_products,
@@ -365,10 +365,10 @@
'katello/api/v2/subscriptions' => [:delete_manifest]
},
:resource_type => 'Katello::Subscription'
@plugin.permission :manage_subscription_allocations,
{
- 'katello/api/v2/upstream_subscriptions' => [:index, :create, :destroy, :update, :ping]
+ 'katello/api/v2/upstream_subscriptions' => [:index, :create, :destroy, :update, :ping, :enable_simple_content_access, :disable_simple_content_access]
},
:resource_type => 'Katello::Subscription'
end
def sync_plan_permissions