NetBox version
v3.3.2
Python version
3.10
Steps to Reproduce
- Create a tenant with the following info
name = Abhimanyu
slug = abhimanyu
- Create a tenant group with the following info
name = Customers
slug = customers
- Create a new tenant with the following info
name = Abhimanyu
slug = abhimanyu
group = Customers
Expected Behavior
If a tenant belongs to a different group, then the uniqueness validation should be applied within the scope of the group. It is very well possible to have two or more people with the exact same name
Observed Behavior
Tenant name and slug are validated globally for uniqueness