-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
3.4.0
Python version
3.8
Steps to Reproduce
Turn on social auth
Setup a user using a remote social login and belonging to some groups
set REMOTE_AUTH_DEFAULT_GROUPS to a group name that doesn't exist:
REMOTE_AUTH_DEFAULT_GROUPS=["notexist", ]
logout the user then log in as the user
see that the group assignments are cleared.
Expected Behavior
The REMOTE_AUTH_DEFAULT_GROUPS should just add them as a group, it shouldn't remove existing group assignments.
Observed Behavior
The user is removed from all groups.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application