[PR #2074] [CLOSED] Restrict view to specific Tenant according to LDAP Group belonging #12309

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2074
Author: @tcastelle
Created: 5/3/2018
Status: Closed

Base: masterHead: develop


📝 Commits (9)

  • e5454d6 Post-release version bump
  • fc0e8e2 Add export button to rack roles list view.
  • 2cdb527 Fixing typo in permission check for ClusterView.
  • 2ef223b Merge pull request #2099 from eriktm/2098-permission-typo
  • 399a633 Post-release version bump
  • e5af4f6 Fixes #2093: Fix link to circuit termination in device interfaces table
  • b0cd372 Fixes #2066: Catch AddrFormatError on invalid IP addresses
  • 0d267d9 Fixes #2075: Enable tenant assignment when creating a rack reservation via the API
  • afba80b Merge pull request #2083 from Grokzen/add_rack_role_export

📊 Changes

8 files changed (+21 additions, -18 deletions)

View changed files

📝 netbox/dcim/api/serializers.py (+1 -1)
📝 netbox/dcim/views.py (+2 -0)
📝 netbox/ipam/fields.py (+4 -2)
📝 netbox/netbox/settings.py (+1 -1)
📝 netbox/templates/dcim/inc/interface.html (+1 -1)
📝 netbox/templates/dcim/rackrole_list.html (+5 -10)
📝 netbox/utilities/views.py (+5 -2)
📝 netbox/virtualization/views.py (+2 -1)

📄 Description

Hello,

I don't know if it is already implemented, but it would be great to restrict user view to only specific Tenants based on the user LDAP Group.

This is something we need because we are hosting customers info in our Netbox, and we would like to give them a read/write access, but only on their tenants...

Regards,

Thomas


🔄 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/2074 **Author:** [@tcastelle](https://github.com/tcastelle) **Created:** 5/3/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `develop` --- ### 📝 Commits (9) - [`e5454d6`](https://github.com/netbox-community/netbox/commit/e5454d6714a6f3b42166e774e7ed2dd244f63d5a) Post-release version bump - [`fc0e8e2`](https://github.com/netbox-community/netbox/commit/fc0e8e2aaebcc5aa5b776a92a623745dffb7f5c0) Add export button to rack roles list view. - [`2cdb527`](https://github.com/netbox-community/netbox/commit/2cdb527df9febf4e48e6550d36f2178c706eb5ba) Fixing typo in permission check for ClusterView. - [`2ef223b`](https://github.com/netbox-community/netbox/commit/2ef223b5ea25d85217429de2d50ba28cd2b1ebe8) Merge pull request #2099 from eriktm/2098-permission-typo - [`399a633`](https://github.com/netbox-community/netbox/commit/399a633d9d3baa8f3a22998ea018bc5e82db31bc) Post-release version bump - [`e5af4f6`](https://github.com/netbox-community/netbox/commit/e5af4f6f1702b7744af52b51f70178f9447e934d) Fixes #2093: Fix link to circuit termination in device interfaces table - [`b0cd372`](https://github.com/netbox-community/netbox/commit/b0cd372af9002015213b8676514c60adaeeccd7b) Fixes #2066: Catch AddrFormatError on invalid IP addresses - [`0d267d9`](https://github.com/netbox-community/netbox/commit/0d267d97fee25dd9b592f03bf0e73c41f6c737ef) Fixes #2075: Enable tenant assignment when creating a rack reservation via the API - [`afba80b`](https://github.com/netbox-community/netbox/commit/afba80bff92c4790335a8a4b2a01a2f2448f9ec8) Merge pull request #2083 from Grokzen/add_rack_role_export ### 📊 Changes **8 files changed** (+21 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/api/serializers.py` (+1 -1) 📝 `netbox/dcim/views.py` (+2 -0) 📝 `netbox/ipam/fields.py` (+4 -2) 📝 `netbox/netbox/settings.py` (+1 -1) 📝 `netbox/templates/dcim/inc/interface.html` (+1 -1) 📝 `netbox/templates/dcim/rackrole_list.html` (+5 -10) 📝 `netbox/utilities/views.py` (+5 -2) 📝 `netbox/virtualization/views.py` (+2 -1) </details> ### 📄 Description Hello, I don't know if it is already implemented, but it would be great to restrict user view to only specific Tenants based on the user LDAP Group. This is something we need because we are hosting customers info in our Netbox, and we would like to give them a read/write access, but only on their tenants... Regards, Thomas --- <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:20:47 +01:00
adam closed this issue 2025-12-29 22:20:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12309