Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tables in ObjectChildrenView show checkboxes despite lack of permissions #10996

Closed
peteeckel opened this issue Nov 22, 2022 · 0 comments
Closed
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@peteeckel
Copy link
Contributor

peteeckel commented Nov 22, 2022

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

@peteeckel peteeckel added the type: bug A confirmed report of unexpected behavior in the application label Nov 22, 2022
@jeremystretch jeremystretch changed the title v3.4-beta1: Tables in ObjectChildrenView show checkboxes despite lack of permissions Tables in ObjectChildrenView show checkboxes despite lack of permissions Nov 22, 2022
@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Nov 22, 2022
@jeremystretch jeremystretch self-assigned this Nov 22, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants