[GH-ISSUE #2156] Support for multiple user on single peer #4458

Open
opened 2026-08-05 00:57:49 -04:00 by saavagebueno · 2 comments
Owner

Originally created by @papoe on GitHub (Jun 19, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2156

If a peer is added by an user, the peer is always linked to the same user. If you are switching the user (log out and login with another one), the peer configuration is still the same.

I would expect that if I change the user, the peer configuration will change based on the group configuration for the new user. The problem is, that a single peer (e.g. a windows workstation) can not be shared between multiple users.

Please add a support to change the user to be able to share a single peer for multiple users and access polices are working based on the user. For example user amueller is able to access file-srv-01 and file-srv-02 from the existing peer, meanwhile user meder is only allowed to access file-srv-01,

NetBird Version v0.28 even triggers an error while trying this: netbird-management-1 | 2024-06-20T07:15:13Z WARN management/server/peer.go:752: user mismatch when logging in peer cppbg01r904c73foaqog: peer user 272289022192123908, login user 272055969549123588

Originally created by @papoe on GitHub (Jun 19, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2156 If a peer is added by an user, the peer is always linked to the same user. If you are switching the user (log out and login with another one), the peer configuration is still the same. I would expect that if I change the user, the peer configuration will change based on the group configuration for the new user. The problem is, that a single peer (e.g. a windows workstation) can not be shared between multiple users. Please add a support to change the user to be able to share a single peer for multiple users and access polices are working based on the user. For example user amueller is able to access file-srv-01 and file-srv-02 from the existing peer, meanwhile user meder is only allowed to access file-srv-01, NetBird Version v0.28 even triggers an error while trying this: netbird-management-1 | 2024-06-20T07:15:13Z WARN management/server/peer.go:752: user mismatch when logging in peer cppbg01r904c73foaqog: peer user 272289022192123908, login user 272055969549123588
saavagebueno added the feature-requestclient labels 2026-08-05 00:57:49 -04:00
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

The use case will be covered by https://github.com/netbirdio/netbird/issues/3273

<!-- gh-comment-id:2824767402 --> @nazarewk commented on GitHub (Apr 23, 2025): The use case will be covered by https://github.com/netbirdio/netbird/issues/3273
Author
Owner

@AFCU-rboy commented on GitHub (May 1, 2026):

Looking at #3273 it only addresses changing profiles.
On windows all profiles are accessible by all users. This defeats the purpose of restricting a user if they can just change the profile.

I see that profiles are stored in C:\Program Data\Netbird.

At the moment it's not a big deal as we'll be assigning 1 person per laptop anyway, but in the future if we need to have multiple people accessing the same device even temporarily it would be nice to ensure that they don't have access to other profiles on the same system in case we want to use User based ACL rules rather than Machine based.

<!-- gh-comment-id:4359521369 --> @AFCU-rboy commented on GitHub (May 1, 2026): Looking at #3273 it only addresses changing profiles. On windows all profiles are accessible by all users. This defeats the purpose of restricting a user if they can just change the profile. I see that profiles are stored in C:\Program Data\Netbird\. At the moment it's not a big deal as we'll be assigning 1 person per laptop anyway, but in the future if we need to have multiple people accessing the same device even temporarily it would be nice to ensure that they don't have access to other profiles on the same system in case we want to use User based ACL rules rather than Machine based.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#4458