Skip to content

Commit

Permalink
Fixes #37555 - Move capsule index and show to correct :view_smart_pro…
Browse files Browse the repository at this point in the history
…xies permission
  • Loading branch information
chris1984 committed Jun 25, 2024
1 parent 57167f3 commit b6169e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/katello/permission_creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def capsule_content_permissions
@plugin.permission :view_capsule_content,
{
'katello/api/v2/capsule_content' => [:counts, :lifecycle_environments, :available_lifecycle_environments, :sync_status],
'smart_proxies' => [:pulp_storage, :pulp_status, :show_with_content]
'smart_proxies' => [:pulp_storage, :pulp_status, :show_with_content],
'katello/api/v2/capsules' => [:index, :show]
},
:resource_type => "SmartProxy"
end
Expand Down

0 comments on commit b6169e4

Please sign in to comment.