Skip to content

Commit b6169e4

Browse files
committed
Fixes #37555 - Move capsule index and show to correct :view_smart_proxies permission
1 parent 57167f3 commit b6169e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/katello/permission_creator.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ def capsule_content_permissions
6262
@plugin.permission :view_capsule_content,
6363
{
6464
'katello/api/v2/capsule_content' => [:counts, :lifecycle_environments, :available_lifecycle_environments, :sync_status],
65-
'smart_proxies' => [:pulp_storage, :pulp_status, :show_with_content]
65+
'smart_proxies' => [:pulp_storage, :pulp_status, :show_with_content],
66+
'katello/api/v2/capsules' => [:index, :show]
6667
},
6768
:resource_type => "SmartProxy"
6869
end

0 commit comments

Comments
 (0)