diff --git a/docs/release-notes/version-2.11.md b/docs/release-notes/version-2.11.md index 9e8ae26e72..b826060100 100644 --- a/docs/release-notes/version-2.11.md +++ b/docs/release-notes/version-2.11.md @@ -6,6 +6,7 @@ * [#6100](https://github.com/netbox-community/netbox/issues/6100) - Fix VM interfaces table "add interfaces" link * [#6104](https://github.com/netbox-community/netbox/issues/6104) - Fix location column on racks table +* [#6105](https://github.com/netbox-community/netbox/issues/6105) - Hide checkboxes for VMs under cluster VMs view --- diff --git a/netbox/virtualization/views.py b/netbox/virtualization/views.py index 4a6ad66b57..6bf9eb6dd7 100644 --- a/netbox/virtualization/views.py +++ b/netbox/virtualization/views.py @@ -163,8 +163,6 @@ class ClusterVirtualMachinesView(generic.ObjectView): def get_extra_context(self, request, instance): virtualmachines = VirtualMachine.objects.restrict(request.user, 'view').filter(cluster=instance) virtualmachines_table = tables.VirtualMachineTable(virtualmachines, orderable=False) - if request.user.has_perm('virtualization.change_cluster'): - virtualmachines_table.columns.show('pk') return { 'virtualmachines_table': virtualmachines_table,