Global Tenant Filter Dropdown #16125
Labels
complexity: high
Expected to require a large amont of time and effort to implement relative to other tasks
status: backlog
Awaiting selection for work
type: feature
Introduction of new functionality to the application
NetBox version
3.6.6
Feature type
New functionality
Proposed functionality
Could we have a dropdown at the top, possibly next to the user dropdown menu, that defaults to "All Tenants" and allows you to select a tenant in which you can filter all data by. We frequently work between customers and our own internal systems within NetBox, and having this option would then set the tenant filter (where available) on all dropdowns when working on various records. For example: setting the tenant at the top from All to a specific tenant would mean when you add an IP address, it not only would auto set the tenant for the IP, it would also filter all the Devices or Virtual machines etc to only show ones from that tenant as well. If the default is set to All, then it would mean the current functionality of NetBox remains unchanged.
Users could then also set in their user preferences if they want a default tenant, which would mean upon logging in their tenant selection would be set for them as well, or just simply set a cookie to the last value selected perhaps ? either way some form of persistence would also be nice.
If the dropdown could also reflect the tenant groups too, that would be very nice, for example:
-- Tenant 1
-- Tenant 2
-- Tenant 3
-- Tenant 4 etc
Use case
At the moment it can be time consuming with a multi-tenanted NetBox instance, having to select the Tenant using the "Open Selector" icon next to the various drop downs.
Having the tenant preset using that dropdown would save users a lot of time.
Database changes
I don't think this would need any changes, unless you also offered a "Default Tenant" option in the user options section.
I think storing the last set value via a cookie would be sufficient, and negate the need for any DB changes.
External dependencies
No response
The text was updated successfully, but these errors were encountered: