Closed ebusto closed 4 years ago
This differs from #2815, which was to allow the assignment of a Tenant to multiple TenantGroups. Here, Tenants are still limited to a single TenantGroup association, but TenantGroups themselves can belong to other TenantGroups (similar to how Regions can be nested).
Cross-referencing with #1754 (RackGroup nesting)
May be it is part of it #554
I don't think it should be coupled to #554.
I've implemented a simple and opinionated RBAC module for NetBox, and as it is a non-trivial task, it would unnecessarily delay this simple change.
Environment
Proposed Functionality
Similar to regions, tenant groups should be nestable, in order to represent organizations with more than two levels.
For example: IT -> Infrastructure -> Network Support
Use Case
This allows companies of any appreciable size to share one NetBox instance, while tracking organizational and team level ownership accurately, without having to resort to ugly hacks or naming conventions.
Database Changes
Add a
parent
attribute to theTenantGroup
model.External Dependencies
None.