diff --git a/app/presenters/tree_builder_ops_rbac.rb b/app/presenters/tree_builder_ops_rbac.rb index 1a37b899ef1f..d1112eaced2a 100644 --- a/app/presenters/tree_builder_ops_rbac.rb +++ b/app/presenters/tree_builder_ops_rbac.rb @@ -51,7 +51,7 @@ def x_get_tree_custom_kids(object_hash, count_only, _options) case object_hash[:id] when "u" then Rbac.filtered(User.in_my_region) when "g" then Rbac.filtered(MiqGroup.non_tenant_groups_in_my_region) - when "ur" then MiqUserRole.all + when "ur" then Rbac.filtered(MiqUserRole.all) when "tn" then Tenant.with_current_tenant end count_only_or_objects(count_only, objects, "name")