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

Permissions do not work properly #25

Open
julianstolp opened this issue Jan 26, 2023 · 1 comment
Open

Permissions do not work properly #25

julianstolp opened this issue Jan 26, 2023 · 1 comment

Comments

@julianstolp
Copy link

julianstolp commented Jan 26, 2023

Netbox 3.4.3
Plugin 0.5.0
Python 3.8

Tested this with a user who has view permissions for /dcim/sites.

Observed

  1. The documents are always visible, even when viewing them with a account who does not have any permissions for 'Document Storage'.
  2. The Edit and Delete button is always visible even with no permissions at all (but ends in 403). If setting the explicit add, change, delete permissions these are working as expected.

Expected
The user is not eligible for seeing the Edit and Delete button.

Not sure if its the plugins bug or a netbox bug.

@julianstolp
Copy link
Author

The first point can be ignored. It is the same behavior as Non-Racked Devices. As Netbox is showing related items for the site, even if the user has no permissions to view some of these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant