[PR #6964] [CLOSED] [Bugfix] Fix permissions to view VLANs, but don't have Prefix permission #13196

Closed
opened 2025-12-29 22:25:56 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/6964
Author: @navisidhu
Created: 8/16/2021
Status: Closed

Base: developHead: ui_permissions_fix_1


📝 Commits (1)

  • a16ad99 [Bugfix] Fix permissions when viewing VLANs, but Prefix permission is disabled

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 netbox/ipam/tables.py (+4 -0)

📄 Description

Fixes the UI display when viewing the list of VLANs, but don't have permission to view IP Prefixes.

Summary:
Check if the user has view_prefix permission before displaying the Prefixes associated with the VLAN.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/6964 **Author:** [@navisidhu](https://github.com/navisidhu) **Created:** 8/16/2021 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `ui_permissions_fix_1` --- ### 📝 Commits (1) - [`a16ad99`](https://github.com/netbox-community/netbox/commit/a16ad9969bdf1c8a2a231eac481364eb387ba55a) [Bugfix] Fix permissions when viewing VLANs, but Prefix permission is disabled ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/tables.py` (+4 -0) </details> ### 📄 Description Fixes the UI display when viewing the list of VLANs, but don't have permission to view IP Prefixes. Summary: Check if the user has `view_prefix` permission before displaying the Prefixes associated with the VLAN. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:25:56 +01:00
adam closed this issue 2025-12-29 22:25:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13196