Tables in ObjectChildrenView show checkboxes despite lack of permissions #7264

Closed
opened 2025-12-29 20:21:00 +01:00 by adam · 0 comments
Owner

Originally created by @peteeckel on GitHub (Nov 22, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.4-beta1

Python version

3.8

Steps to Reproduce

  1. Create a new user with view-only permissions, e.g. for IPAM objects
  2. Create a perfix, e.g. 10.0.1.0/24
  3. Create an IP address within that prefix, e.g. 10.0.1.1/24
  4. Switch to the new viewer user, then navigate to the prefix' "IP Addresses" tab

Expected Behavior

The IP address should be listed, but since the user does not have any permissions to change or delete anything there should not be any check boxes left to the IP address(es) in the list, nor a "select all" check box in the header.

This would be the same behaviour like the one in the global "IP Addresses" list view, where the display of unnecessary check boxes is suppressed:

Screenshot 2022-11-22 at 10 03 46

Observed Behavior

The IP addresses in the ObjectChildrenView are displayed with checkboxes, although there is no bulk action that could be executed due to the lack of permissions:

Screenshot 2022-11-22 at 10 04 13

Originally created by @peteeckel on GitHub (Nov 22, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.4-beta1 ### Python version 3.8 ### Steps to Reproduce 1. Create a new user with view-only permissions, e.g. for IPAM objects 2. Create a perfix, e.g. 10.0.1.0/24 3. Create an IP address within that prefix, e.g. 10.0.1.1/24 4. Switch to the new viewer user, then navigate to the prefix' "IP Addresses" tab ### Expected Behavior The IP address should be listed, but since the user does not have any permissions to change or delete anything there should not be any check boxes left to the IP address(es) in the list, nor a "select all" check box in the header. This would be the same behaviour like the one in the global "IP Addresses" list view, where the display of unnecessary check boxes is suppressed: ![Screenshot 2022-11-22 at 10 03 46](https://user-images.githubusercontent.com/6815386/203271987-245bfd56-2bee-4e75-aa3a-b2fb8ed90bf2.png) ### Observed Behavior The IP addresses in the ObjectChildrenView are displayed with checkboxes, although there is no bulk action that could be executed due to the lack of permissions: ![Screenshot 2022-11-22 at 10 04 13](https://user-images.githubusercontent.com/6815386/203272211-dd3e8e96-392d-415b-9023-5e74c0f5bbb7.png)
adam added the type: bugstatus: accepted labels 2025-12-29 20:21:00 +01:00
adam closed this issue 2025-12-29 20:21:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7264