Hide panels based on permissions #7478

Closed
opened 2025-12-29 20:23:52 +01:00 by adam · 2 comments
Owner

Originally created by @nerdbaggy on GitHub (Jan 9, 2023).

NetBox version

V3.4.2

Feature type

New functionality

Proposed functionality

In a lot of places in the UI if a user doesn’t have view permissions or greater they can’t see an item.
This isn’t the case with panels on the item pages (eg: a single device). If a user doesn’t have view permission they won’t see the items but they will still see the panel.
It would be great to have the panel visibility follow the user permissions like the sidebar does.

Use case

We use permissions to hide some features. For example as of now we don’t use “Virtual Device Contexts”. Without the view permissions for Virtual Device Contexts it won’t show in the side navbar but still shows in the devices page.

We have created own own plugin to tie device images into our CRM and our Dropbox. Users still see the image panel even though they don’t have permissions and we don’t use it.

Database changes

None, just lots of template changes

External dependencies

None

Originally created by @nerdbaggy on GitHub (Jan 9, 2023). ### NetBox version V3.4.2 ### Feature type New functionality ### Proposed functionality In a lot of places in the UI if a user doesn’t have view permissions or greater they can’t see an item. This isn’t the case with panels on the item pages (eg: a single device). If a user doesn’t have view permission they won’t see the items but they will still see the panel. It would be great to have the panel visibility follow the user permissions like the sidebar does. ### Use case We use permissions to hide some features. For example as of now we don’t use “Virtual Device Contexts”. Without the view permissions for Virtual Device Contexts it won’t show in the side navbar but still shows in the devices page. We have created own own plugin to tie device images into our CRM and our Dropbox. Users still see the image panel even though they don’t have permissions and we don’t use it. ### Database changes None, just lots of template changes ### External dependencies None
adam added the type: featurepending closure labels 2025-12-29 20:23:52 +01:00
adam closed this issue 2025-12-29 20:23:52 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Apr 9, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Apr 9, 2023): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (May 9, 2023):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (May 9, 2023): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7478