netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Allow Users to be used as Contact

Open peterbaumert opened this issue 7 months ago • 2 comments

NetBox version

v4.3.0

Feature type

Data model extension

Proposed functionality

I would like to be able to assign users as Contacts, so I don't have to duplicate most of the data that is available already at the User anyway.

Use case

Not needing to duplicate User/Contact data just for the sake of being able to assign Contacts.

Database changes

Probably the relationship part between the contact asignment and the contact/user model.

External dependencies

I don't think there are any.

peterbaumert avatar May 09 '25 14:05 peterbaumert

This would really mess up the data model to support both. You can create a custom field on a contact with type object and related object type of User that may get the related information that you want.

arthanson avatar May 29 '25 17:05 arthanson

@arthanson I can understand that. The workaround you suggest still would duplicate a lot of the data though since Contact has required fields too.

Opening Contacts to be User would also probably make it possible to use it to assign rights. Like if User has Owner role he can edit and so on.

peterbaumert avatar May 29 '25 18:05 peterbaumert

We intentionally maintain strict separation between the objects in NetBox and the users who make changes to those objects, for various reasons. Unfortunately the proposed functionality would violate that separation, so we have to decline it.

jeremystretch avatar Aug 07 '25 17:08 jeremystretch