Skip to content

Tenant is not unique by associated groups #10373

@abhi1693

Description

@abhi1693

NetBox version

v3.3.2

Python version

3.10

Steps to Reproduce

  1. Create a tenant with the following info
name = Abhimanyu
slug = abhimanyu
  1. Create a tenant group with the following info
name = Customers
slug = customers
  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions