Skip to content

Tables in ObjectChildrenView show checkboxes despite lack of permissions #10996

@peteeckel

Description

@peteeckel

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

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions